usha123 / datejs

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

formatting midnight with "htt" results in "0AM" #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. d = new Date()
2. d.clearTime()
3. alert(d.toString("htt"))

What is the expected output? What do you see instead?
expected: "12AM"; actual: "0AM".

What version of the product are you using? On what operating system?
 * Version: 1.0 Alpha-1 
 * Build Date: 13-Nov-2007

Original issue reported on code.google.com by bla...@bravo5.org on 9 Nov 2009 at 6:00

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

Original comment by darkcr...@gmail.com on 15 Sep 2013 at 12:22

GoogleCodeExporter commented 8 years ago
Same as #26

Original comment by ShoeMake...@gmail.com on 24 Sep 2014 at 2:11