From dfb53f86ec8e3a13c8b22770a3688550939bf5f6 Mon Sep 17 00:00:00 2001 From: Sean Hill Date: Fri, 15 Feb 2013 14:49:12 -0600 Subject: [PATCH] humanizeDuration is not in the definition file, so compilation fails. Removing these since humanizeDuration has been deprecated/removed. See https://github.com/timrwood/moment/pull/572 --- moment/moment-tests.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/moment/moment-tests.ts b/moment/moment-tests.ts index 1bb236ea3..b158cfb47 100644 --- a/moment/moment-tests.ts +++ b/moment/moment-tests.ts @@ -126,13 +126,6 @@ moment([2007, 0, 29]).fromNow(); moment([2007, 0, 29]).fromNow(); moment([2007, 0, 29]).fromNow(true); -moment.humanizeDuration(1000 * 60); -moment.humanizeDuration(1, "seconds"); -moment.humanizeDuration(60000, true); -moment.humanizeDuration(1, "minutes", true); -moment.humanizeDuration(-60000, true); -moment.humanizeDuration(-1, "minutes", true); - var a8 = moment([2007, 0, 29]); var b8 = moment([2007, 0, 28]); a8.diff(b8) ;