captbaritone / captbaritone/datejs

Parsing Fails on 12:00 PM & 12:00 AM

Open
#132 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

```

Date.parse("1/1/2011 12:00 PM") = null
(shouldn't it be "Sat Jan 1 12:00:00 EST 2011"?)

Date.parse("1/1/2011 12:00 AM") = Sat Jan 1 12:00:00 EST 2011
(shouldn't it be "Sat Jan 1 00:00:00 EST 2011"?)

I'm using the latest version as of 8/26/2011 on Windows 7.

Seems like the library should handle these times with ease. Is there something
I'm doing wrong?

```

Original issue reported on code.google.com by `wdavid...@yahoo.com` on 25 Aug 2011 at 4:15

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.