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

[Platform] Health check time is always in the Pacific timezone #5172

Closed
iSignal opened this issue Jul 21, 2020 · 1 comment
Closed

[Platform] Health check time is always in the Pacific timezone #5172

iSignal opened this issue Jul 21, 2020 · 1 comment
Assignees
Labels
area/platform Yugabyte Platform team/platform-hi Tickets handled by HashedIn team
Milestone

Comments

@iSignal
Copy link
Contributor

iSignal commented Jul 21, 2020

Repro steps:

Change timezone on client browser device. Health check timestamps do not change though other timestamps like metrics / backups do.

It seems to be hardcoded here -

return datetime.utcnow().replace(tzinfo=tz.tzutc()).astimezone(tz.gettz('America/Los_Angeles'))

Aha! Link: https://yugabyte-test.aha.io/features/PLATFORM-107

@iSignal iSignal added the area/platform Yugabyte Platform label Jul 21, 2020
@streddy-yb streddy-yb added this to the v2.5 milestone Oct 23, 2020
@streddy-yb streddy-yb added the team/platform-hi Tickets handled by HashedIn team label Jan 13, 2021
@jaydeepkumara jaydeepkumara self-assigned this Jan 19, 2021
@jaydeepkumara
Copy link
Contributor

PR:- #6933

jaydeepkumara added a commit that referenced this issue Jan 22, 2021
* Fix timezone issue

* Changed moment timezone to moment
polarweasel pushed a commit to lizayugabyte/yugabyte-db that referenced this issue Mar 9, 2021
…ugabyte#6933)

* Fix timezone issue

* Changed moment timezone to moment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform Yugabyte Platform team/platform-hi Tickets handled by HashedIn team
Projects
None yet
Development

No branches or pull requests

5 participants