pingjiang / datejs

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

Date format not resolved #142

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Entered the following date into Date.parse():  "Tue Dec 20 14:50:24 PST 2011"
2. Date is being interpreted as 2012 instead of 2011
3. Also tried it on the main page of datejs.com under Mad Skillz

What is the expected output? What do you see instead?
2012 instead of 2011

What version of the product are you using? On what operating system?
http://www.datejs.com/build/date.js

Please provide any additional information below.
I also tried using Date.parseExact but I cannot figure out what the proper 
format is supposed to be.

Original issue reported on code.google.com by hrov...@systemsbiology.org on 4 Jan 2012 at 12:46

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:40