captbaritone / captbaritone/datejs

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

Open
#88 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. 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

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.