saheb11 / datejs

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

toString for '2010-09-26 00:02:35' shows up as "Sep 26 0:02 AM" #111

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I tried this in Google Chrome 6.0.4. Am I doing something wrong?

Date.parse('2010-09-26 00:02:35').toString('MMM d h:mm tt');
"Sep 26 0:02 AM"

Original issue reported on code.google.com by modernvi...@gmail.com on 26 Sep 2010 at 9:52

GoogleCodeExporter commented 8 years ago
What are you expecting to get instead?

Original comment by barbedwi...@gmail.com on 28 Dec 2010 at 4:39

GoogleCodeExporter commented 8 years ago
"Sep 26 12:02 AM" ?

Original comment by modernvi...@gmail.com on 3 Jan 2011 at 8:10

GoogleCodeExporter commented 8 years ago
works in the current build on my fork: https://github.com/abritinthebay/datejs/

Original comment by darkcr...@gmail.com on 15 Sep 2013 at 7:20