Skip to content

Conversation

@robmoorman
Copy link
Collaborator

No description provided.

@kaedroho
Copy link

kaedroho commented May 31, 2017

This doesn't actually solve #130 (but it's a fix worth having anyway). This just makes the datetimes aware of the timezone the server is in but #130 requires datetimes that are aware of the user's timezone which would probably require some JS.

Github seems to solve this by setting a tz cookie with JavaScript.

@tomdyson
Copy link
Collaborator

Something like

document.cookie = "tz-offset="+new Date().getTimezoneOffset()/60;

?

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.

4 participants