]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
- Changed test
authorkostas <kkopanidis@gmail.com>
Sun, 14 May 2017 14:28:47 +0000 (17:28 +0300)
committerIskren Chernev <iskren.chernev@gmail.com>
Wed, 9 Aug 2017 11:55:36 +0000 (14:55 +0300)
src/test/locale/es-do.js

index 0552e3f4944295431f509e1274d3855b6ca7863f..b749b5b9da4ed52251fe8408d160b0e2a1193cdc 100644 (file)
@@ -212,7 +212,7 @@ test('weeks year starting sunday formatted', function (assert) {
 });
 
 test('test short months proper', function (assert) {
-    var str = moment(new Date(2016, 7, 2)).format('DD-MMM-YYYY'); // "02-ago-2016"
+    var str = "02-ago-2016"; // "02-ago-2016"
     assert.equal(moment(str, 'DD-MMM-YYYY').month(), '7', '02-ago-2016 month should be 7');
 });