]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Update it.js
authorskakz <garofalo.luca@gmail.com>
Thu, 9 Oct 2014 08:19:54 +0000 (10:19 +0200)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 17 Nov 2014 05:29:05 +0000 (21:29 -0800)
test/locale/it.js

index 0f49ccd6202d7a0b2e78683baff40a8dd64136fd..c7d6da949cfc4497404d7ffcc2785c1faf52350e 100644 (file)
@@ -200,11 +200,9 @@ exports['locale:it'] = {
         var i, m, weekday, datestring;
         for (i = 2; i < 7; i++) {
             m = moment().subtract({d: i});
-            
              // Different date string
             weekday = parseInt(m.format('d'), 10);
             datestring = (weekday === 0) ? '[la scorsa] dddd [alle] LT' : '[lo scorso] dddd [alle] LT';
-            
             test.equal(m.calendar(), m.format(datestring), 'Today - ' + i + ' days current time');
             m.hours(0).minutes(0).seconds(0).milliseconds(0);
             test.equal(m.calendar(), m.format(datestring), 'Today - ' + i + ' days beginning of day');