captbaritone / captbaritone/datejs
0:00am == 0:00pm
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
var d1 = Date.parse("0:00am");
var d2 = Date.parse("0:00pm");
if(d1.getTime() == d2.getTime()) {
alert("This shouldn't be");
}
What is the expected output? What do you see instead?
Either:
* 0:00pm and 0:00am are rejected, or
* 0:00am == 12:00am and 0:00pm == 12:00pm.
What version of the product are you using? On what operating system?
Using date-en-AU.js from SVN (r130) in Firefox 2.0.0.11 on Mac OS X 10.5.1
Please provide any additional information below.
I'm happy to be corrected on what 0:00am and 0:00pm mean, but it struck me as
odd that these
times were accepted.
```
Original issue reported on code.google.com by `craig.e.anderson` on 24 Jan 2008 at 6:07
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.