captbaritone / captbaritone/datejs

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

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.