kenhy / datejs

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

Date.parse cannot parse "yyyy-MM-dd" properly #165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just try in the console: Date.parse("2013-10-09")

What is the expected output? What do you see instead?
It will return the 10th of september rather than the 9th of october

What version of the product are you using? On what operating system?
1.0 Alpha-1, date 2008-05-13

Please provide any additional information below.
It seems the format is not specified in the g._formats call... 

Original issue reported on code.google.com by leandro....@gmail.com on 17 Dec 2012 at 2:24

GoogleCodeExporter commented 9 years ago
fixed in the current build in my fork: https://github.com/abritinthebay/datejs/

Original comment by darkcr...@gmail.com on 7 Sep 2013 at 12:38