captbaritone / captbaritone/datejs

TimeZone is broken

Open
#126 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. get a date in GMT
2. parse it with date.js
3. print it back out

What is the expected output? What do you see instead?
Expect to be able to define the TimeZone BEFORE parsing or this will never
work, or date.js should recognize "GMT" as a timezone indicator in the input
string.
Actual result is that parsed data is always parsed as the local timezone of the
computer. Subsequent changes to the timezone change the time.

What version of the product are you using? On what operating system?
Latests downloaded today, running on node.js on RedHat Fedora Linux

Please provide any additional information below.

```

Original issue reported on code.google.com by `teknop...@gmail.com` on 14 Jul 2011 at 9:02

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.