From: kostas Date: Sun, 14 May 2017 14:28:47 +0000 (+0300) Subject: - Changed test X-Git-Tag: 2.19.0~14^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41efc3ea3e9b5eafcdbfcd386527f3c337e8f044;p=thirdparty%2Fmoment.git - Changed test --- diff --git a/src/test/locale/es-do.js b/src/test/locale/es-do.js index 0552e3f49..b749b5b9d 100644 --- a/src/test/locale/es-do.js +++ b/src/test/locale/es-do.js @@ -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'); });