Skip to content

All dates should be in UTC time #76

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

Open
php-coder opened this issue Oct 29, 2014 · 4 comments
Open

All dates should be in UTC time #76

php-coder opened this issue Oct 29, 2014 · 4 comments

Comments

@php-coder
Copy link
Owner

We should store dates in UTC time and convert to user's timezone when needed.

@php-coder php-coder self-assigned this Oct 29, 2014
@php-coder php-coder modified the milestone: 0.4 Oct 29, 2014
@php-coder
Copy link
Owner Author

When this ticket will be done we should also update SitemapController and remove hard-coded server's time (were introduced in e15f227 commit and related to #66).

@php-coder php-coder removed their assignment Jun 16, 2015
@php-coder
Copy link
Owner Author

@php-coder
Copy link
Owner Author

php-coder added a commit that referenced this issue Oct 14, 2018
This is needed because our current infrastructure and data use Moscow
time. In order to make a transition smooth, we need this. This will be
removed once #76 gets resolved.

Addressed to #534

[ci skip]
@php-coder
Copy link
Owner Author

May be useful: https://vladmihalcea.com/2017/03/14/how-to-store-date-time-and-timestamps-in-utc-time-zone-with-jdbc-and-hibernate/

It's really useful. Perhaps, we should set useLegacyDatetimeCode=false

php-coder added a commit that referenced this issue May 25, 2019
- enable back ParameterName check
- disable MixedMutabilityReturnType check
- fix errors about using system timezone
  (see http://errorprone.info/bugpattern/JavaTimeDefaultTimeZone and #76)

Changelog: https://github.com/google/error-prone/releases/tag/v2.3.3

No functional changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant