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

Defining a timezone #136

Closed
devinmatte opened this issue Jul 5, 2017 · 1 comment
Closed

Defining a timezone #136

devinmatte opened this issue Jul 5, 2017 · 1 comment

Comments

@devinmatte
Copy link

I can't seem to find documentation that states that this exists. But I have a problem right now, where my server records in UTC, but the client could be an different timezone, and it will compare the timestamp from UTC to their current. Which causes problems with timestamps appearing as "in 3 hours" when in reality they were 23 minutes ago. I know I can compare the client time to UTC and subtract the difference. But I would like to avoid that if there is a built in solution I'm just not aware of?

@hustcc
Copy link
Owner

hustcc commented Jul 5, 2017

This is same with issue #122

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

No branches or pull requests

2 participants