captbaritone / captbaritone/datejs

doesn't handle +0000

Open
#109 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. Date.parse("2010-09-18 12:00:00 +0000")

What is the expected output? What do you see instead?

Expect a Date like: "2010-09-18 08:00:00 GMT-0400"

Instead, I get the original time (12:00) AND a specified timezone offset (in my
case GMT-0400), like "2010-09-18 12:00:00 GMT-0400".

What version of the product are you using? On what operating system?

Please provide any additional information below.

Probably the comparison "if (this.timezoneOffset)" is what does it.

```

Original issue reported on code.google.com by `petera...@gmail.com` on 14 Sep 2010 at 5:58

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.