captbaritone / captbaritone/datejs

Date.parse("00:00:00").toString("h:mm tt"); returns 0:00 AM and it should be 12:00 AM

Open
#155 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?
1. Open a js console of some sort, I used chrome...
2. Type "d = Date.parse('00:00:00');"
3. then "d.toString('h:mm tt');"

What is the expected output? What do you see instead?
Notice that it returns "0:00 AM" when it should say "12:00 AM"

What version of the product are you using? On what operating system?
Version: 1.0 Alpha-1

Please provide any additional information below.

```

Original issue reported on code.google.com by `palodequ...@gmail.com` on 6 Jun 2012 at 7:19

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.