]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Update relative_time.js
authorTGJ Gilmore <TracyGJG@users.noreply.github.com>
Mon, 6 Mar 2017 12:15:50 +0000 (12:15 +0000)
committerIskren Chernev <iskren.chernev@gmail.com>
Sun, 12 Mar 2017 00:11:46 +0000 (02:11 +0200)
Test case re-enabled.

src/test/moment/relative_time.js

index 0c294d67640e2a8a8aa6b93bd639c0994fb94eeb..c2bbf6fa205f8f3ccb145ff3e36faeaad3808a46 100644 (file)
@@ -150,7 +150,6 @@ test('custom thresholds', function (assert) {
     moment.relativeTimeThreshold('M', 11);
 });
 
-/* TGJG Disabled
 test('custom rounding', function (assert) {
     var roundingDefault = moment.relativeTimeRounding();
 
@@ -205,7 +204,6 @@ test('custom rounding', function (assert) {
     moment.relativeTimeThreshold('M', 11);
     moment.relativeTimeRounding(roundingDefault);
 });
-*/
 
 test('retrieve rounding settings', function (assert) {
     moment.relativeTimeRounding(Math.round);