Skip to content

Commit

Permalink
Fixed test/lang to take into account e/E format token
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Apr 24, 2013
1 parent 31a7003 commit c7d2b24
Show file tree
Hide file tree
Showing 43 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion lang/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions lang/eo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions lang/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
12 changes: 6 additions & 6 deletions lang/eu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]',
Expand Down
6 changes: 3 additions & 3 deletions lang/pt-br.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 3 additions & 3 deletions lang/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion test/lang/ar-ma.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
4 changes: 2 additions & 2 deletions test/lang/da.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ΜΜ'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/en-ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/en-gb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/eo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/eu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/fi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/fr-ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/he.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/id.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -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分'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/lv.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/ms-my.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/nb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion test/lang/pt-br.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
Loading

0 comments on commit c7d2b24

Please sign in to comment.