From: Iskren Chernev Date: Wed, 24 Apr 2013 09:54:34 +0000 (-0700) Subject: Fixed test/lang to take into account e/E format token X-Git-Tag: 2.1.0~28^2~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d2b249f42866da3e29e66235b89601dd48bb55;p=thirdparty%2Fmoment.git Fixed test/lang to take into account e/E format token --- diff --git a/lang/de.js b/lang/de.js index c3a2e47d3..404dd9875 100644 --- a/lang/de.js +++ b/lang/de.js @@ -9,7 +9,7 @@ require('../moment').lang('de', { weekdaysShort : "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin : "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), longDateFormat : { - LT: "H:mm U\\hr", + LT: "H:mm [Uhr]", L : "DD.MM.YYYY", LL : "D. MMMM YYYY", LLL : "D. MMMM YYYY LT", diff --git a/lang/eo.js b/lang/eo.js index 6637fa29c..0e08cad68 100644 --- a/lang/eo.js +++ b/lang/eo.js @@ -13,9 +13,9 @@ require('../moment').lang('eo', { longDateFormat : { LT : "HH:mm", L : "YYYY-MM-DD", - LL : "D-\\an \\de MMMM, YYYY", - LLL : "D-\\an \\de MMMM, YYYY LT", - LLLL : "dddd, \\l\\a D-\\an \\d\\e MMMM, YYYY LT" + LL : "D[-an de] MMMM, YYYY", + LLL : "D[-an de] MMMM, YYYY LT", + LLLL : "dddd, [la] D[-an de] MMMM, YYYY LT" }, meridiem : function (hours, minutes, isLower) { if (hours > 11) { diff --git a/lang/es.js b/lang/es.js index f935bd188..0a690b7e2 100644 --- a/lang/es.js +++ b/lang/es.js @@ -11,9 +11,9 @@ require('../moment').lang('es', { longDateFormat : { LT : "H:mm", L : "DD/MM/YYYY", - LL : "D \\de MMMM \\de YYYY", - LLL : "D \\de MMMM \\de YYYY LT", - LLLL : "dddd, D \\de MMMM \\de YYYY LT" + LL : "D [de] MMMM [de] YYYY", + LLL : "D [de] MMMM [de] YYYY LT", + LLLL : "dddd, D [de] MMMM [de] YYYY LT" }, calendar : { sameDay : function () { diff --git a/lang/eu.js b/lang/eu.js index 6f0e4cb72..6be894a8a 100644 --- a/lang/eu.js +++ b/lang/eu.js @@ -11,13 +11,13 @@ require('../moment').lang('eu', { longDateFormat : { LT : "HH:mm", L : "YYYY-MM-DD", - LL : "YYYYko MMMMren D[a]", - LLL : "YYYYko MMMMren D[a] LT", - LLLL : "dddd, YYYYko MMMMren D[a] LT", + LL : "YYYY[ko] MMMM[ren] D[a]", + LLL : "YYYY[ko] MMMM[ren] D[a] LT", + LLLL : "dddd, YYYY[ko] MMMM[ren] D[a] LT", l : "YYYY-M-D", - ll : "YYYYko MMM D[a]", - lll : "YYYYko MMM D[a] LT", - llll : "ddd, YYYYko MMM D[a] LT" + ll : "YYYY[ko] MMM D[a]", + lll : "YYYY[ko] MMM D[a] LT", + llll : "ddd, YYYY[ko] MMM D[a] LT" }, calendar : { sameDay : '[gaur] LT[etan]', diff --git a/lang/pt-br.js b/lang/pt-br.js index 2427097e1..bdb441d1e 100644 --- a/lang/pt-br.js +++ b/lang/pt-br.js @@ -11,9 +11,9 @@ require('../moment').lang('pt-br', { longDateFormat : { LT : "HH:mm", L : "DD/MM/YYYY", - LL : "D \\de MMMM \\de YYYY", - LLL : "D \\de MMMM \\de YYYY LT", - LLLL : "dddd, D \\de MMMM \\de YYYY LT" + LL : "D [de] MMMM [de] YYYY", + LLL : "D [de] MMMM [de] YYYY LT", + LLLL : "dddd, D [de] MMMM [de] YYYY LT" }, calendar : { sameDay: '[Hoje às] LT', diff --git a/lang/pt.js b/lang/pt.js index b199b8e57..01a5f0842 100644 --- a/lang/pt.js +++ b/lang/pt.js @@ -11,9 +11,9 @@ require('../moment').lang('pt', { longDateFormat : { LT : "HH:mm", L : "DD/MM/YYYY", - LL : "D \\de MMMM \\de YYYY", - LLL : "D \\de MMMM \\de YYYY LT", - LLLL : "dddd, D \\de MMMM \\de YYYY LT" + LL : "D [de] MMMM [de] YYYY", + LLL : "D [de] MMMM [de] YYYY LT", + LLLL : "dddd, D [de] MMMM [de] YYYY LT" }, calendar : { sameDay: '[Hoje às] LT', diff --git a/test/lang/ar-ma.js b/test/lang/ar-ma.js index 284db6b3e..3afd38d90 100644 --- a/test/lang/ar-ma.js +++ b/test/lang/ar-ma.js @@ -50,7 +50,7 @@ exports["lang:ar-ma"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 فبراير 2010'], ['LLL', '14 فبراير 2010 15:25'], diff --git a/test/lang/ar.js b/test/lang/ar.js index 4d4709624..d18c848e1 100644 --- a/test/lang/ar.js +++ b/test/lang/ar.js @@ -50,7 +50,7 @@ exports["lang:ar"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 فبراير/ شباط 2010'], ['LLL', '14 فبراير/ شباط 2010 15:25'], diff --git a/test/lang/bg.js b/test/lang/bg.js index 97aababe0..7b4b99370 100644 --- a/test/lang/bg.js +++ b/test/lang/bg.js @@ -53,7 +53,7 @@ exports["lang:bg"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45-ти day of the year'], + ['[the] DDDo [day of the year]', 'the 45-ти day of the year'], ['L', '14.02.2010'], ['LL', '14 февруари 2010'], ['LLL', '14 февруари 2010 3:25'], diff --git a/test/lang/da.js b/test/lang/da.js index 23916a993..eea4ca713 100644 --- a/test/lang/da.js +++ b/test/lang/da.js @@ -40,7 +40,7 @@ exports["lang:da"] = { "format" : function(test) { test.expect(22); var a = [ - ['dddd \\den Do MMMM YYYY, h:mm:ss a', 'Søndag den 14. Februar 2010, 3:25:50 pm'], + ['dddd [den] Do MMMM YYYY, h:mm:ss a', 'Søndag den 14. Februar 2010, 3:25:50 pm'], ['ddd hA', 'Søn 3PM'], ['M Mo MM MMMM MMM', '2 2. 02 Februar Feb'], ['YYYY YY', '2010 10'], @@ -53,7 +53,7 @@ exports["lang:da"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['[den] DDDo \\d\\ag på året', 'den 45. dag på året'], + ['[den] DDDo [dag på året]', 'den 45. dag på året'], ['L', '14/02/2010'], ['LL', '14 Februar 2010'], ['LLL', '14 Februar 2010 15:25'], diff --git a/test/lang/de.js b/test/lang/de.js index da7b2a458..35ac1a9b2 100644 --- a/test/lang/de.js +++ b/test/lang/de.js @@ -55,7 +55,7 @@ exports["lang:de"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '14.02.2010'], ['LL', '14. Februar 2010'], ['LLL', '14. Februar 2010 15:25 Uhr'], diff --git a/test/lang/el.js b/test/lang/el.js index 7f8af15ad..5011783fd 100644 --- a/test/lang/el.js +++ b/test/lang/el.js @@ -60,7 +60,7 @@ exports["lang:el"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'μμ ΜΜ'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45η day of the year'], + ['[the] DDDo [day of the year]', 'the 45η day of the year'], ['L', '14/02/2010'], ['LL', '14 Φεβρουαρίου 2010'], ['LLL', '14 Φεβρουαρίου 2010 3:25 ΜΜ'], diff --git a/test/lang/en-ca.js b/test/lang/en-ca.js index b7af6f93b..2a65ffa9b 100644 --- a/test/lang/en-ca.js +++ b/test/lang/en-ca.js @@ -57,7 +57,7 @@ exports["lang:en-ca"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45th day of the year'], + ['[the] DDDo [day of the year]', 'the 45th day of the year'], ['L', '2010-02-14'], ['LL', '14 February, 2010'], ['LLL', '14 February, 2010 3:25 PM'], diff --git a/test/lang/en-gb.js b/test/lang/en-gb.js index 2c9420bb7..f176f8c0c 100644 --- a/test/lang/en-gb.js +++ b/test/lang/en-gb.js @@ -53,7 +53,7 @@ exports["lang:en-gb"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45th day of the year'], + ['[the] DDDo [day of the year]', 'the 45th day of the year'], ['L', '14/02/2010'], ['LL', '14 February 2010'], ['LLL', '14 February 2010 3:25 PM'], diff --git a/test/lang/en.js b/test/lang/en.js index 163346149..295b25e33 100644 --- a/test/lang/en.js +++ b/test/lang/en.js @@ -58,7 +58,7 @@ exports["lang:en"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45th day of the year'], + ['[the] DDDo [day of the year]', 'the 45th day of the year'], ['L', '02/14/2010'], ['LL', 'February 14 2010'], ['LLL', 'February 14 2010 3:25 PM'], diff --git a/test/lang/eo.js b/test/lang/eo.js index 1d7fa7693..af9e85700 100644 --- a/test/lang/eo.js +++ b/test/lang/eo.js @@ -55,7 +55,7 @@ exports["lang:eo"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'p.t.m. P.T.M.'], - ['\\l\\a DDDo t\\ago \\d\\e \\l\\a j\\aro', 'la 45a tago de la jaro'], + ['[la] DDDo [tago] [de] [la] [jaro]', 'la 45a tago de la jaro'], ['L', '2010-02-14'], ['LL', '14-an de februaro, 2010'], ['LLL', '14-an de februaro, 2010 15:25'], diff --git a/test/lang/es.js b/test/lang/es.js index 2cf99bedf..bd337aa33 100644 --- a/test/lang/es.js +++ b/test/lang/es.js @@ -53,7 +53,7 @@ exports["lang:es"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45º day of the year'], + ['[the] DDDo [day of the year]', 'the 45º day of the year'], ['L', '14/02/2010'], ['LL', '14 de febrero de 2010'], ['LLL', '14 de febrero de 2010 15:25'], diff --git a/test/lang/eu.js b/test/lang/eu.js index cbca3f06a..bdce555b7 100644 --- a/test/lang/eu.js +++ b/test/lang/eu.js @@ -55,7 +55,7 @@ exports["lang:eu"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '2010-02-14'], ['LL', '2010ko otsailaren 14a'], ['LLL', '2010ko otsailaren 14a 15:25'], diff --git a/test/lang/fi.js b/test/lang/fi.js index 651bfe840..345eab3db 100644 --- a/test/lang/fi.js +++ b/test/lang/fi.js @@ -53,7 +53,7 @@ exports["lang:fi"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['vuo\\den DDDo päivä', 'vuoden 45. päivä'], + ['[vuoden] DDDo [päivä]', 'vuoden 45. päivä'], ['L', '14.02.2010'], ['LL', '14. helmikuuta 2010'], ['LLL', '14. helmikuuta 2010, klo 15.25'], diff --git a/test/lang/fr-ca.js b/test/lang/fr-ca.js index d427b37cb..7448253de 100644 --- a/test/lang/fr-ca.js +++ b/test/lang/fr-ca.js @@ -57,7 +57,7 @@ exports["lang:fr-ca"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '2010-02-14'], ['LL', '14 février 2010'], ['LLL', '14 février 2010 15:25'], diff --git a/test/lang/fr.js b/test/lang/fr.js index b78b7fbbc..18fb5310b 100644 --- a/test/lang/fr.js +++ b/test/lang/fr.js @@ -55,7 +55,7 @@ exports["lang:fr"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 février 2010'], ['LLL', '14 février 2010 15:25'], diff --git a/test/lang/he.js b/test/lang/he.js index d168080cf..fd4f06c91 100644 --- a/test/lang/he.js +++ b/test/lang/he.js @@ -55,7 +55,7 @@ exports["lang:he"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 בפברואר 2010'], ['LLL', '14 בפברואר 2010 15:25'], diff --git a/test/lang/hu.js b/test/lang/hu.js index 1ab11fc87..4a5ca904e 100644 --- a/test/lang/hu.js +++ b/test/lang/hu.js @@ -52,7 +52,7 @@ exports["lang:hu"] = { ['H HH', '15 15'], ['m mm', '25 25'], ['s ss', '50 50'], - ['\\az év DDDo n\\apj\\a', 'az év 45. napja'], + ['[az év] DDDo [napja]', 'az év 45. napja'], ['L', '2010.02.14.'], ['LL', '2010. február 14.'], ['LLL', '2010. február 14., 15:25'], diff --git a/test/lang/id.js b/test/lang/id.js index 9f14459e8..17ff08355 100644 --- a/test/lang/id.js +++ b/test/lang/id.js @@ -53,7 +53,7 @@ exports["lang:id"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'sore sore'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 Februari 2010'], ['LLL', '14 Februari 2010 pukul 15.25'], diff --git a/test/lang/it.js b/test/lang/it.js index e93929251..3a17a00fa 100644 --- a/test/lang/it.js +++ b/test/lang/it.js @@ -55,7 +55,7 @@ exports["lang:it"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45º day of the year'], + ['[the] DDDo [day of the year]', 'the 45º day of the year'], ['L', '14/02/2010'], ['LL', '14 Febbraio 2010'], ['LLL', '14 Febbraio 2010 15:25'], diff --git a/test/lang/ja.js b/test/lang/ja.js index f363f5692..cb315d977 100644 --- a/test/lang/ja.js +++ b/test/lang/ja.js @@ -55,7 +55,7 @@ exports["lang:ja"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', '午後 午後'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '2010/02/14'], ['LL', '2010年2月14日'], ['LLL', '2010年2月14日午後3時25分'], diff --git a/test/lang/lv.js b/test/lang/lv.js index 93723cbcf..e256f8134 100644 --- a/test/lang/lv.js +++ b/test/lang/lv.js @@ -55,7 +55,7 @@ exports["lang:lv"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '14.02.2010'], ['LL', '2010. gada 14. februāris'], ['LLL', '2010. gada 14. februāris, 15:25'], diff --git a/test/lang/ms-my.js b/test/lang/ms-my.js index e9ea09cde..70f1a68e8 100644 --- a/test/lang/ms-my.js +++ b/test/lang/ms-my.js @@ -58,7 +58,7 @@ exports["lang:ms-my"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'petang petang'], - ['\\h\\a\\ri ke DDDo t\\a\\hun ini', 'hari ke 45 tahun ini'], + ['[hari] [ke] DDDo [tahun] ini', 'hari ke 45 tahun ini'], ['L', '14/02/2010'], ['LL', '14 Februari 2010'], ['LLL', '14 Februari 2010 pukul 15.25'], diff --git a/test/lang/nb.js b/test/lang/nb.js index d51b31008..f53a1fcd4 100644 --- a/test/lang/nb.js +++ b/test/lang/nb.js @@ -55,7 +55,7 @@ exports["lang:nb"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '2010-02-14'], ['LL', '14 februar 2010'], ['LLL', '14 februar 2010 15:25'], diff --git a/test/lang/nl.js b/test/lang/nl.js index b2aaca775..935aa8423 100644 --- a/test/lang/nl.js +++ b/test/lang/nl.js @@ -55,7 +55,7 @@ exports["lang:nl"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45ste day of the year'], + ['[the] DDDo [day of the year]', 'the 45ste day of the year'], ['L', '14-02-2010'], ['LL', '14 februari 2010'], ['LLL', '14 februari 2010 15:25'], diff --git a/test/lang/pl.js b/test/lang/pl.js index e7f4fd1da..06d8ef855 100644 --- a/test/lang/pl.js +++ b/test/lang/pl.js @@ -55,7 +55,7 @@ exports["lang:pl"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '14-02-2010'], ['LL', '14 luty 2010'], ['LLL', '14 luty 2010 15:25'], diff --git a/test/lang/pt-br.js b/test/lang/pt-br.js index 32a8bffb1..7f5b9c0aa 100644 --- a/test/lang/pt-br.js +++ b/test/lang/pt-br.js @@ -58,7 +58,7 @@ exports["lang:pt-br"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45º day of the year'], + ['[the] DDDo [day of the year]', 'the 45º day of the year'], ['L', '14/02/2010'], ['LL', '14 de Fevereiro de 2010'], ['LLL', '14 de Fevereiro de 2010 15:25'], diff --git a/test/lang/pt.js b/test/lang/pt.js index 8f270bcd5..9ee5d3c44 100644 --- a/test/lang/pt.js +++ b/test/lang/pt.js @@ -55,7 +55,7 @@ exports["lang:pt"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45º day of the year'], + ['[the] DDDo [day of the year]', 'the 45º day of the year'], ['L', '14/02/2010'], ['LL', '14 de Fevereiro de 2010'], ['LLL', '14 de Fevereiro de 2010 15:25'], diff --git a/test/lang/ru.js b/test/lang/ru.js index 83b49836f..919f370c2 100644 --- a/test/lang/ru.js +++ b/test/lang/ru.js @@ -55,7 +55,7 @@ exports["lang:ru"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '14.02.2010'], ['LL', '14 февраля 2010 г.'], ['LLL', '14 февраля 2010 г., 15:25'], diff --git a/test/lang/sl.js b/test/lang/sl.js index 81f73e6ef..8aa84a0e0 100644 --- a/test/lang/sl.js +++ b/test/lang/sl.js @@ -54,7 +54,7 @@ exports["lang:sl"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '14. 02. 2010'], ['LL', '14. februar 2010'], ['LLL', '14. februar 2010 15:25'], diff --git a/test/lang/sv.js b/test/lang/sv.js index 9fe33e8a3..3b9adf63d 100644 --- a/test/lang/sv.js +++ b/test/lang/sv.js @@ -52,7 +52,7 @@ exports["lang:sv"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45e day of the year'], + ['[the] DDDo [day of the year]', 'the 45e day of the year'], ['L', '2010-02-14'], ['LL', '14 februari 2010'], ['LLL', '14 februari 2010 15:25'], diff --git a/test/lang/th.js b/test/lang/th.js index b031bbc50..a0cb4c493 100644 --- a/test/lang/th.js +++ b/test/lang/th.js @@ -55,7 +55,7 @@ exports["lang:th"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'หลังเที่ยง หลังเที่ยง'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '2010/02/14'], ['LL', '14 กุมภาพันธ์ 2010'], ['LLL', '14 กุมภาพันธ์ 2010 เวลา 15 นาฬิกา 25 นาที'], diff --git a/test/lang/tzm-la.js b/test/lang/tzm-la.js index 24fe93c2b..7809772e1 100644 --- a/test/lang/tzm-la.js +++ b/test/lang/tzm-la.js @@ -53,7 +53,7 @@ exports["lang:tzm-la"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 brˤayrˤ 2010'], ['LLL', '14 brˤayrˤ 2010 15:25'], diff --git a/test/lang/tzm.js b/test/lang/tzm.js index 9d1d631b1..667509449 100644 --- a/test/lang/tzm.js +++ b/test/lang/tzm.js @@ -51,7 +51,7 @@ exports["lang:tzm"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '14/02/2010'], ['LL', '14 ⴱⵕⴰⵢⵕ 2010'], ['LLL', '14 ⴱⵕⴰⵢⵕ 2010 15:25'], diff --git a/test/lang/uk.js b/test/lang/uk.js index 9346f4bfb..4fb65858e 100644 --- a/test/lang/uk.js +++ b/test/lang/uk.js @@ -53,7 +53,7 @@ exports["lang:uk"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', 'pm PM'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45. day of the year'], + ['[the] DDDo [day of the year]', 'the 45. day of the year'], ['L', '14.02.2010'], ['LL', '14 лютого 2010 г.'], ['LLL', '14 лютого 2010 г., 15:25'], diff --git a/test/lang/zh-cn.js b/test/lang/zh-cn.js index 622133ef5..4a72e19bd 100644 --- a/test/lang/zh-cn.js +++ b/test/lang/zh-cn.js @@ -57,7 +57,7 @@ exports["lang:zh-cn"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', '下午 下午'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '2010年2月14日'], ['LL', '2010年2月14日'], ['LLL', '2010年2月14日下午3点25'], diff --git a/test/lang/zh-tw.js b/test/lang/zh-tw.js index 8a066749f..3c26815d8 100644 --- a/test/lang/zh-tw.js +++ b/test/lang/zh-tw.js @@ -55,7 +55,7 @@ exports["lang:zh-tw"] = { ['m mm', '25 25'], ['s ss', '50 50'], ['a A', '下午 下午'], - ['t\\he DDDo \\d\\ay of t\\he ye\\ar', 'the 45 day of the year'], + ['[the] DDDo [day of the year]', 'the 45 day of the year'], ['L', '2010年2月14日'], ['LL', '2010年2月14日'], ['LLL', '2010年2月14日下午3點25'], diff --git a/test/moment/create.js b/test/moment/create.js index 09805238f..c932732f5 100644 --- a/test/moment/create.js +++ b/test/moment/create.js @@ -150,7 +150,7 @@ exports.create = { ['h:mm a', '12:30 am'], ['HH:mm', '12:00'], ['YYYY-MM-DDTHH:mm:ss', '2011-11-11T11:11:11'], - ['MM-DD-YYYY \\M', '12-02-1999 M'], + ['MM-DD-YYYY [M]', '12-02-1999 M'], ['ddd MMM DD HH:mm:ss YYYY', 'Tue Apr 07 22:52:51 2009'], ['HH:mm:ss', '12:00:00'], ['HH:mm:ss', '12:30:00'],