JosephMajaseSithole / datejs

Automatically exported from code.google.com/p/datejs
0 stars 0 forks source link

en_GB parses '2009 03 09' (and similar) incorrectly #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
'2009 03 09' as an input to parse() returns '2009 09 03', ie it interprets
the day as the month and vice versa. If a day greater than 12 is used, ie
'2009 03 31', it parses correctly.

Original issue reported on code.google.com by andy...@gmail.com on 10 Feb 2009 at 2:10

GoogleCodeExporter commented 8 years ago
I tried 

    Date.parse('03 Aug 2009')

and was returned Sat August 01 2009 GMT.....

Although the non-enGB version parses this correctly

Original comment by paulieph...@gmail.com on 5 Aug 2009 at 12:58