Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date and Timestamp timeZone probleme. #1

Merged
merged 1 commit into from
May 6, 2015

Conversation

khalilTN
Copy link

@khalilTN khalilTN commented May 6, 2015

When inserting a JavaScript date into a timestamp or date column, Ex :
Wed May 06 2015 15:26:11 GMT+0100 (CET), the value retrieved from a select query, has an hour added to the original date, as you can see, the hour is added to match the time Zone utc+1 in this case.
calling setHours, setMinutes ... instead of setUTCHours, setUTCMinutes solved this.

atiertant added a commit that referenced this pull request May 6, 2015
Date and Timestamp timeZone probleme.
@atiertant atiertant merged commit 030ffa6 into Atlantis-Software:master May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants