saheb11 / datejs

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

Date.parse("12:xx AM") returns 12:xx PM #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

var inTheMidnightHour = Date.parse("12:01 AM");
alert(inTheMidnightHour.toString("hh:mm tt");

What is the expected output? What do you see instead?

Expect: 12:01 AM
Get: 12:01 PM

What version of the product are you using? On what operating system?

1.0 Alpha-1, Win XP, Firefox 3, IE 8

Please provide any additional information below.

Original issue reported on code.google.com by jlar...@gmail.com on 8 Jan 2010 at 3:29

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

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