From 8d57cce54a2eab5e39555311eb273f611696b810 Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Sun, 3 Jan 2016 14:58:53 +0200 Subject: [PATCH] Remove 'strict oridnal parsign' from all locales --- src/test/locale/af.js | 8 -------- src/test/locale/ar-ma.js | 8 -------- src/test/locale/ar-sa.js | 8 -------- src/test/locale/ar-tn.js | 8 -------- src/test/locale/ar.js | 8 -------- src/test/locale/az.js | 8 -------- src/test/locale/be.js | 8 -------- src/test/locale/bg.js | 8 -------- src/test/locale/bn.js | 8 -------- src/test/locale/bo.js | 8 -------- src/test/locale/br.js | 8 -------- src/test/locale/bs.js | 8 -------- src/test/locale/ca.js | 8 -------- src/test/locale/cs.js | 8 -------- src/test/locale/cv.js | 8 -------- src/test/locale/cy.js | 8 -------- src/test/locale/da.js | 8 -------- src/test/locale/de-at.js | 8 -------- src/test/locale/de.js | 8 -------- src/test/locale/el.js | 8 -------- src/test/locale/en-au.js | 9 --------- src/test/locale/en-ca.js | 8 -------- src/test/locale/en-gb.js | 8 -------- src/test/locale/en-ie.js | 8 -------- src/test/locale/en-nz.js | 9 --------- src/test/locale/en.js | 8 -------- src/test/locale/eo.js | 8 -------- src/test/locale/es.js | 8 -------- src/test/locale/et.js | 8 -------- src/test/locale/eu.js | 8 -------- src/test/locale/fa.js | 8 -------- src/test/locale/fi.js | 8 -------- src/test/locale/fo.js | 8 -------- src/test/locale/fr-ca.js | 8 -------- src/test/locale/fr-ch.js | 8 -------- src/test/locale/fr.js | 8 -------- src/test/locale/fy.js | 8 -------- src/test/locale/gd.js | 8 -------- src/test/locale/gl.js | 8 -------- src/test/locale/he.js | 8 -------- src/test/locale/hi.js | 8 -------- src/test/locale/hr.js | 8 -------- src/test/locale/hu.js | 8 -------- src/test/locale/hy-am.js | 8 -------- src/test/locale/id.js | 8 -------- src/test/locale/is.js | 8 -------- src/test/locale/it.js | 8 -------- src/test/locale/ja.js | 8 -------- src/test/locale/jv.js | 8 -------- src/test/locale/ka.js | 8 -------- src/test/locale/kk.js | 8 -------- src/test/locale/km.js | 8 -------- src/test/locale/ko.js | 8 -------- src/test/locale/lb.js | 8 -------- src/test/locale/lo.js | 8 -------- src/test/locale/lt.js | 8 -------- src/test/locale/lv.js | 8 -------- src/test/locale/me.js | 8 -------- src/test/locale/mk.js | 8 -------- src/test/locale/ml.js | 8 -------- src/test/locale/mr.js | 8 -------- src/test/locale/ms-my.js | 8 -------- src/test/locale/ms.js | 8 -------- src/test/locale/my.js | 8 -------- src/test/locale/nb.js | 8 -------- src/test/locale/ne.js | 8 -------- src/test/locale/nl.js | 8 -------- src/test/locale/nn.js | 8 -------- src/test/locale/pl.js | 8 -------- src/test/locale/pt-br.js | 8 -------- src/test/locale/pt.js | 8 -------- src/test/locale/ro.js | 8 -------- src/test/locale/ru.js | 8 -------- src/test/locale/se.js | 8 -------- src/test/locale/si.js | 8 -------- src/test/locale/sk.js | 8 -------- src/test/locale/sl.js | 8 -------- src/test/locale/sq.js | 8 -------- src/test/locale/sr-cyrl.js | 8 -------- src/test/locale/sr.js | 8 -------- src/test/locale/sv.js | 8 -------- src/test/locale/sw.js | 8 -------- src/test/locale/ta.js | 8 -------- src/test/locale/te.js | 8 -------- src/test/locale/th.js | 8 -------- src/test/locale/tl-ph.js | 8 -------- src/test/locale/tlh.js | 8 -------- src/test/locale/tr.js | 8 -------- src/test/locale/tzl.js | 8 -------- src/test/locale/tzm-latn.js | 8 -------- src/test/locale/tzm.js | 8 -------- src/test/locale/uk.js | 8 -------- src/test/locale/uz.js | 8 -------- src/test/locale/vi.js | 8 -------- src/test/locale/zh-cn.js | 8 -------- src/test/locale/zh-tw.js | 8 -------- 96 files changed, 770 deletions(-) diff --git a/src/test/locale/af.js b/src/test/locale/af.js index 78650ee32..c11c37175 100644 --- a/src/test/locale/af.js +++ b/src/test/locale/af.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ar-ma.js b/src/test/locale/ar-ma.js index 99d52649f..dffaac31a 100644 --- a/src/test/locale/ar-ma.js +++ b/src/test/locale/ar-ma.js @@ -269,11 +269,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ar-sa.js b/src/test/locale/ar-sa.js index 8dbccb61a..594fab99a 100644 --- a/src/test/locale/ar-sa.js +++ b/src/test/locale/ar-sa.js @@ -274,11 +274,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ar-tn.js b/src/test/locale/ar-tn.js index 7e17101db..3e7c99c78 100644 --- a/src/test/locale/ar-tn.js +++ b/src/test/locale/ar-tn.js @@ -357,11 +357,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ar.js b/src/test/locale/ar.js index 156e2102c..07930f1a5 100644 --- a/src/test/locale/ar.js +++ b/src/test/locale/ar.js @@ -289,14 +289,6 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); test('no leading zeros in long date formats', function (assert) { var i, j, longDateStr, shortDateStr; diff --git a/src/test/locale/az.js b/src/test/locale/az.js index 8cc5e4d86..368866f45 100644 --- a/src/test/locale/az.js +++ b/src/test/locale/az.js @@ -281,11 +281,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/be.js b/src/test/locale/be.js index e17feb2ec..a9351eb6e 100644 --- a/src/test/locale/be.js +++ b/src/test/locale/be.js @@ -326,11 +326,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/bg.js b/src/test/locale/bg.js index 5427b23dc..43ed1141f 100644 --- a/src/test/locale/bg.js +++ b/src/test/locale/bg.js @@ -286,11 +286,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/bn.js b/src/test/locale/bn.js index cfb28bce9..61003fff5 100644 --- a/src/test/locale/bn.js +++ b/src/test/locale/bn.js @@ -286,11 +286,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/bo.js b/src/test/locale/bo.js index b979a7ece..61edfe7b7 100644 --- a/src/test/locale/bo.js +++ b/src/test/locale/bo.js @@ -287,11 +287,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/br.js b/src/test/locale/br.js index b17beb0c7..8b666a6bc 100644 --- a/src/test/locale/br.js +++ b/src/test/locale/br.js @@ -227,11 +227,3 @@ test('special mutations for years', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/bs.js b/src/test/locale/bs.js index 93c9bb6d3..4568b70b1 100644 --- a/src/test/locale/bs.js +++ b/src/test/locale/bs.js @@ -303,11 +303,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ca.js b/src/test/locale/ca.js index 893312804..3cd87e4ff 100644 --- a/src/test/locale/ca.js +++ b/src/test/locale/ca.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/cs.js b/src/test/locale/cs.js index b43580bb7..f5554da37 100644 --- a/src/test/locale/cs.js +++ b/src/test/locale/cs.js @@ -368,11 +368,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/cv.js b/src/test/locale/cv.js index 87fc4a30a..79fdf526e 100644 --- a/src/test/locale/cv.js +++ b/src/test/locale/cv.js @@ -276,11 +276,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/cy.js b/src/test/locale/cy.js index e3f12553d..96e1b0c09 100644 --- a/src/test/locale/cy.js +++ b/src/test/locale/cy.js @@ -269,11 +269,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/da.js b/src/test/locale/da.js index 146c4907b..5d438a9cc 100644 --- a/src/test/locale/da.js +++ b/src/test/locale/da.js @@ -221,11 +221,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/de-at.js b/src/test/locale/de-at.js index 9881dff6a..8833ba935 100644 --- a/src/test/locale/de-at.js +++ b/src/test/locale/de-at.js @@ -267,11 +267,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/de.js b/src/test/locale/de.js index e2f9a296c..54d9c6b10 100644 --- a/src/test/locale/de.js +++ b/src/test/locale/de.js @@ -266,11 +266,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/el.js b/src/test/locale/el.js index 2d76cadf6..ea56c5159 100644 --- a/src/test/locale/el.js +++ b/src/test/locale/el.js @@ -323,11 +323,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/en-au.js b/src/test/locale/en-au.js index 149fa0183..8459ba973 100644 --- a/src/test/locale/en-au.js +++ b/src/test/locale/en-au.js @@ -268,12 +268,3 @@ test('weeks year starting sunday formatted', function (assert) { assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2nd', 'Jan 9 2012 should be week 2'); assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2nd', 'Jan 15 2012 should be week 2'); }); - -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MMM Do'); - testMoment = moment(ordinalStr, 'YYYY MMM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/en-ca.js b/src/test/locale/en-ca.js index a2d7456b3..021647cf0 100644 --- a/src/test/locale/en-ca.js +++ b/src/test/locale/en-ca.js @@ -280,11 +280,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/en-gb.js b/src/test/locale/en-gb.js index bc2f83e82..cb11da869 100644 --- a/src/test/locale/en-gb.js +++ b/src/test/locale/en-gb.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/en-ie.js b/src/test/locale/en-ie.js index b080bdd69..e8114870b 100644 --- a/src/test/locale/en-ie.js +++ b/src/test/locale/en-ie.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/en-nz.js b/src/test/locale/en-nz.js index 266a70963..0d710c890 100644 --- a/src/test/locale/en-nz.js +++ b/src/test/locale/en-nz.js @@ -268,12 +268,3 @@ test('weeks year starting sunday formatted', function (assert) { assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2nd', 'Jan 9 2012 should be week 2'); assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2nd', 'Jan 15 2012 should be week 2'); }); - -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MMM Do'); - testMoment = moment(ordinalStr, 'YYYY MMM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/en.js b/src/test/locale/en.js index 49d4ba98f..6d1ec1704 100644 --- a/src/test/locale/en.js +++ b/src/test/locale/en.js @@ -296,11 +296,3 @@ test('weekdays strict parsing', function (assert) { }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/eo.js b/src/test/locale/eo.js index 0439d2c08..858a36f4b 100644 --- a/src/test/locale/eo.js +++ b/src/test/locale/eo.js @@ -272,11 +272,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/es.js b/src/test/locale/es.js index 3002a4503..e20c30e55 100644 --- a/src/test/locale/es.js +++ b/src/test/locale/es.js @@ -274,11 +274,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/et.js b/src/test/locale/et.js index 45b77c78b..e8f03c1e9 100644 --- a/src/test/locale/et.js +++ b/src/test/locale/et.js @@ -294,11 +294,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/eu.js b/src/test/locale/eu.js index cf6a268d4..98a25fc01 100644 --- a/src/test/locale/eu.js +++ b/src/test/locale/eu.js @@ -270,11 +270,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fa.js b/src/test/locale/fa.js index 0d1b97a7f..bd7af2479 100644 --- a/src/test/locale/fa.js +++ b/src/test/locale/fa.js @@ -261,11 +261,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fi.js b/src/test/locale/fi.js index bcd607dd1..a09cb1781 100644 --- a/src/test/locale/fi.js +++ b/src/test/locale/fi.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fo.js b/src/test/locale/fo.js index cf8125b58..3c3aba27f 100644 --- a/src/test/locale/fo.js +++ b/src/test/locale/fo.js @@ -221,11 +221,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fr-ca.js b/src/test/locale/fr-ca.js index ef23e42c2..d927d945f 100644 --- a/src/test/locale/fr-ca.js +++ b/src/test/locale/fr-ca.js @@ -277,11 +277,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fr-ch.js b/src/test/locale/fr-ch.js index 90dd5bfe1..a0289f603 100644 --- a/src/test/locale/fr-ch.js +++ b/src/test/locale/fr-ch.js @@ -277,11 +277,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fr.js b/src/test/locale/fr.js index 6e914cf7f..d5fe29888 100644 --- a/src/test/locale/fr.js +++ b/src/test/locale/fr.js @@ -269,11 +269,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/fy.js b/src/test/locale/fy.js index e48d1a2a2..f23a9503f 100644 --- a/src/test/locale/fy.js +++ b/src/test/locale/fy.js @@ -275,11 +275,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/gd.js b/src/test/locale/gd.js index 7d5300c9d..17fbd5fbf 100644 --- a/src/test/locale/gd.js +++ b/src/test/locale/gd.js @@ -283,12 +283,4 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/gl.js b/src/test/locale/gl.js index 23c765e43..6978cae17 100644 --- a/src/test/locale/gl.js +++ b/src/test/locale/gl.js @@ -279,11 +279,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/he.js b/src/test/locale/he.js index c4eb4ef4b..e831220e4 100644 --- a/src/test/locale/he.js +++ b/src/test/locale/he.js @@ -235,11 +235,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/hi.js b/src/test/locale/hi.js index 735b042ee..3a832f5ca 100644 --- a/src/test/locale/hi.js +++ b/src/test/locale/hi.js @@ -298,11 +298,3 @@ test('meridiem', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/hr.js b/src/test/locale/hr.js index 8404d7f0d..e4e51c7d1 100644 --- a/src/test/locale/hr.js +++ b/src/test/locale/hr.js @@ -303,11 +303,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/hu.js b/src/test/locale/hu.js index c765ff871..15d7e48fd 100644 --- a/src/test/locale/hu.js +++ b/src/test/locale/hu.js @@ -284,11 +284,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/hy-am.js b/src/test/locale/hy-am.js index cb8854bd0..73a2fbfe0 100644 --- a/src/test/locale/hy-am.js +++ b/src/test/locale/hy-am.js @@ -340,11 +340,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/id.js b/src/test/locale/id.js index 59dfac0c1..6d4f1e5e0 100644 --- a/src/test/locale/id.js +++ b/src/test/locale/id.js @@ -245,11 +245,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/is.js b/src/test/locale/is.js index 03bfc5071..bd0716ec5 100644 --- a/src/test/locale/is.js +++ b/src/test/locale/is.js @@ -277,11 +277,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/it.js b/src/test/locale/it.js index 27409365f..cd43f718a 100644 --- a/src/test/locale/it.js +++ b/src/test/locale/it.js @@ -269,11 +269,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ja.js b/src/test/locale/ja.js index 6df8ab397..ecef078a2 100644 --- a/src/test/locale/ja.js +++ b/src/test/locale/ja.js @@ -233,11 +233,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/jv.js b/src/test/locale/jv.js index 16e247f5c..14ab51d78 100644 --- a/src/test/locale/jv.js +++ b/src/test/locale/jv.js @@ -249,11 +249,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ka.js b/src/test/locale/ka.js index 9fdf0ffbb..90923cac2 100644 --- a/src/test/locale/ka.js +++ b/src/test/locale/ka.js @@ -283,11 +283,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/kk.js b/src/test/locale/kk.js index 151115f5a..d50844ed2 100644 --- a/src/test/locale/kk.js +++ b/src/test/locale/kk.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/km.js b/src/test/locale/km.js index 04df54ac1..a5377d9bc 100644 --- a/src/test/locale/km.js +++ b/src/test/locale/km.js @@ -301,11 +301,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ko.js b/src/test/locale/ko.js index bcf76ab09..97aee2191 100644 --- a/src/test/locale/ko.js +++ b/src/test/locale/ko.js @@ -306,11 +306,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/lb.js b/src/test/locale/lb.js index 3f852b7bc..77ffd6a7a 100644 --- a/src/test/locale/lb.js +++ b/src/test/locale/lb.js @@ -141,11 +141,3 @@ test('calendar last week', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/lo.js b/src/test/locale/lo.js index cf718cceb..6c8ae2bc6 100644 --- a/src/test/locale/lo.js +++ b/src/test/locale/lo.js @@ -271,11 +271,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/lt.js b/src/test/locale/lt.js index 163b38a45..cfed3ca14 100644 --- a/src/test/locale/lt.js +++ b/src/test/locale/lt.js @@ -287,11 +287,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/lv.js b/src/test/locale/lv.js index 7724cbef1..1906a04ec 100644 --- a/src/test/locale/lv.js +++ b/src/test/locale/lv.js @@ -291,11 +291,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/me.js b/src/test/locale/me.js index 0f9467889..16a13d973 100644 --- a/src/test/locale/me.js +++ b/src/test/locale/me.js @@ -308,11 +308,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/mk.js b/src/test/locale/mk.js index 90bafd27c..62710312e 100644 --- a/src/test/locale/mk.js +++ b/src/test/locale/mk.js @@ -285,11 +285,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ml.js b/src/test/locale/ml.js index 943ed9c00..4665fc244 100644 --- a/src/test/locale/ml.js +++ b/src/test/locale/ml.js @@ -286,11 +286,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/mr.js b/src/test/locale/mr.js index d5aad2a02..5cac0ac1f 100644 --- a/src/test/locale/mr.js +++ b/src/test/locale/mr.js @@ -298,11 +298,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ms-my.js b/src/test/locale/ms-my.js index df641c440..2055387f3 100644 --- a/src/test/locale/ms-my.js +++ b/src/test/locale/ms-my.js @@ -291,11 +291,3 @@ test('meridiem invariant', function (assert) { }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ms.js b/src/test/locale/ms.js index 897d1d074..d01d5f4a1 100644 --- a/src/test/locale/ms.js +++ b/src/test/locale/ms.js @@ -291,11 +291,3 @@ test('meridiem invariant', function (assert) { }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/my.js b/src/test/locale/my.js index eead80e49..d26279fd6 100644 --- a/src/test/locale/my.js +++ b/src/test/locale/my.js @@ -358,11 +358,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/nb.js b/src/test/locale/nb.js index a342e5e3e..84881794c 100644 --- a/src/test/locale/nb.js +++ b/src/test/locale/nb.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ne.js b/src/test/locale/ne.js index 6bb7a6dfe..51da16bfc 100644 --- a/src/test/locale/ne.js +++ b/src/test/locale/ne.js @@ -298,11 +298,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/nl.js b/src/test/locale/nl.js index 9bfed991b..613a76fb5 100644 --- a/src/test/locale/nl.js +++ b/src/test/locale/nl.js @@ -275,11 +275,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/nn.js b/src/test/locale/nn.js index 1f5cbe146..5d9a689b3 100644 --- a/src/test/locale/nn.js +++ b/src/test/locale/nn.js @@ -270,11 +270,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/pl.js b/src/test/locale/pl.js index 6328cb4d6..1f971e194 100644 --- a/src/test/locale/pl.js +++ b/src/test/locale/pl.js @@ -314,11 +314,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/pt-br.js b/src/test/locale/pt-br.js index 5fb292cad..0aa589284 100644 --- a/src/test/locale/pt-br.js +++ b/src/test/locale/pt-br.js @@ -268,11 +268,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/pt.js b/src/test/locale/pt.js index 495257660..90f5c368c 100644 --- a/src/test/locale/pt.js +++ b/src/test/locale/pt.js @@ -266,11 +266,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ro.js b/src/test/locale/ro.js index 8e30da14e..93744b492 100644 --- a/src/test/locale/ro.js +++ b/src/test/locale/ro.js @@ -278,11 +278,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ru.js b/src/test/locale/ru.js index 48512c3fe..ecf9b1cd4 100644 --- a/src/test/locale/ru.js +++ b/src/test/locale/ru.js @@ -416,11 +416,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/se.js b/src/test/locale/se.js index ecfcdd2be..9018494dc 100644 --- a/src/test/locale/se.js +++ b/src/test/locale/se.js @@ -281,11 +281,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/si.js b/src/test/locale/si.js index 051d85148..dda2080b6 100644 --- a/src/test/locale/si.js +++ b/src/test/locale/si.js @@ -204,11 +204,3 @@ test('calendar all else', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sk.js b/src/test/locale/sk.js index 50aa9a4ad..6c1a2b565 100644 --- a/src/test/locale/sk.js +++ b/src/test/locale/sk.js @@ -358,11 +358,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sl.js b/src/test/locale/sl.js index a1fbde143..3658d7401 100644 --- a/src/test/locale/sl.js +++ b/src/test/locale/sl.js @@ -394,11 +394,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sq.js b/src/test/locale/sq.js index c6869b7ca..e0064eb4b 100644 --- a/src/test/locale/sq.js +++ b/src/test/locale/sq.js @@ -286,11 +286,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sr-cyrl.js b/src/test/locale/sr-cyrl.js index 55c3fb68f..5884105f4 100644 --- a/src/test/locale/sr-cyrl.js +++ b/src/test/locale/sr-cyrl.js @@ -305,11 +305,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sr.js b/src/test/locale/sr.js index fc4257835..7d859a31d 100644 --- a/src/test/locale/sr.js +++ b/src/test/locale/sr.js @@ -305,11 +305,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sv.js b/src/test/locale/sv.js index ef0c8c4d7..3c364635c 100644 --- a/src/test/locale/sv.js +++ b/src/test/locale/sv.js @@ -270,11 +270,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/sw.js b/src/test/locale/sw.js index fca6b0ef3..2408149db 100644 --- a/src/test/locale/sw.js +++ b/src/test/locale/sw.js @@ -270,11 +270,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/ta.js b/src/test/locale/ta.js index af3d413e4..25995a447 100644 --- a/src/test/locale/ta.js +++ b/src/test/locale/ta.js @@ -285,11 +285,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/te.js b/src/test/locale/te.js index 9084130c7..8a2846d89 100644 --- a/src/test/locale/te.js +++ b/src/test/locale/te.js @@ -298,11 +298,3 @@ test('meridiem', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/th.js b/src/test/locale/th.js index 78c60f1b1..59b34a7ba 100644 --- a/src/test/locale/th.js +++ b/src/test/locale/th.js @@ -233,11 +233,3 @@ test('weeks year starting sunday format', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/tl-ph.js b/src/test/locale/tl-ph.js index 00e57e898..7c91de556 100644 --- a/src/test/locale/tl-ph.js +++ b/src/test/locale/tl-ph.js @@ -269,11 +269,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/tlh.js b/src/test/locale/tlh.js index 61e304270..db2778df9 100644 --- a/src/test/locale/tlh.js +++ b/src/test/locale/tlh.js @@ -286,11 +286,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/tr.js b/src/test/locale/tr.js index e17d7476a..933660572 100644 --- a/src/test/locale/tr.js +++ b/src/test/locale/tr.js @@ -281,11 +281,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/tzl.js b/src/test/locale/tzl.js index 395761f9c..ff9fd237d 100644 --- a/src/test/locale/tzl.js +++ b/src/test/locale/tzl.js @@ -274,11 +274,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/tzm-latn.js b/src/test/locale/tzm-latn.js index 00359d6dc..775ef3539 100644 --- a/src/test/locale/tzm-latn.js +++ b/src/test/locale/tzm-latn.js @@ -268,11 +268,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/tzm.js b/src/test/locale/tzm.js index 115b010f7..73bd76a6d 100644 --- a/src/test/locale/tzm.js +++ b/src/test/locale/tzm.js @@ -268,11 +268,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/uk.js b/src/test/locale/uk.js index d0cf44b30..94f068dda 100644 --- a/src/test/locale/uk.js +++ b/src/test/locale/uk.js @@ -303,11 +303,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/uz.js b/src/test/locale/uz.js index bdc8950f1..2e0374dfd 100644 --- a/src/test/locale/uz.js +++ b/src/test/locale/uz.js @@ -271,11 +271,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/vi.js b/src/test/locale/vi.js index 2f515e868..771f67103 100644 --- a/src/test/locale/vi.js +++ b/src/test/locale/vi.js @@ -281,11 +281,3 @@ test('weeks year starting sunday formatted', function (assert) { -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/zh-cn.js b/src/test/locale/zh-cn.js index 2f4fb4d66..748f9b8e6 100644 --- a/src/test/locale/zh-cn.js +++ b/src/test/locale/zh-cn.js @@ -269,11 +269,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); diff --git a/src/test/locale/zh-tw.js b/src/test/locale/zh-tw.js index 055b60119..1ff428f58 100644 --- a/src/test/locale/zh-tw.js +++ b/src/test/locale/zh-tw.js @@ -262,11 +262,3 @@ test('meridiem invariant', function (assert) { } }); -test('strict ordinal parsing', function (assert) { - var i, ordinalStr, testMoment; - for (i = 1; i <= 31; ++i) { - ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); - testMoment = moment(ordinalStr, 'YYYY MM Do', true); - assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); - } -}); -- 2.47.2