]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
comply with Travis
authorAlexander Karelas <alex.karelas@gmail.com>
Thu, 24 Apr 2014 14:50:21 +0000 (14:50 +0000)
committerAlexander Karelas <alex.karelas@gmail.com>
Thu, 24 Apr 2014 14:50:21 +0000 (14:50 +0000)
test/lang/el.js

index 79276066446dfdb03f2b9fc8cc5b8c170ca7d810..88552c12553009a34b501d41cd524a5dbc192e9e 100644 (file)
@@ -249,7 +249,7 @@ exports["lang:el"] = {
         var i, m;
         for (i = 2; i < 7; i++) {
             m = moment().subtract({ d: i });
-            var dayString = m.day() == 6 ? '[το προηγούμενο Σάββατο]' : '[την προηγούμενη] dddd';
+            var dayString = m.day() === 6 ? '[το προηγούμενο Σάββατο]' : '[την προηγούμενη] dddd';
             test.equal(m.calendar(),       m.format(dayString + ' [' + (m.hours() % 12 === 1 ? 'στη' : 'στις') + '] LT'),  "Today - " + i + " days current time");
             m.hours(1).minutes(30).seconds(0).milliseconds(0);
             test.equal(m.calendar(),       m.format(dayString + ' [στη] LT'),  "Today - " + i + " days one o clock");