]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
- Changed test
authorkostas <kkopanidis@gmail.com>
Sun, 14 May 2017 14:30:29 +0000 (17:30 +0300)
committerIskren Chernev <iskren.chernev@gmail.com>
Sun, 6 Aug 2017 23:41:44 +0000 (02:41 +0300)
src/test/locale/es.js

index d4f338c4e0dcaff529d538e27ca58a11e3400042..dedd7ca98bb17aa8f73fbeb26bc2132a384fd482 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";
     assert.equal(moment(str, 'DD-MMM-YYYY').month(), '7', '02-ago-2016 month should be 7');
 });