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

Support Timezone #2

Open
Ksoy opened this issue Nov 4, 2022 · 0 comments
Open

Support Timezone #2

Ksoy opened this issue Nov 4, 2022 · 0 comments

Comments

@Ksoy
Copy link
Member

Ksoy commented Nov 4, 2022

當 dashboard 架設在其他時區的伺服器上時,儲存的會是當地的時間(ex: 亞美尼亞, UTC+4),
當用其他時區的電腦開時(ex: 台灣時間, UTC+8),data 有可能會出現 Strikethrough (timeout)。
需做時區的處理,考慮二種方式:

  • 儲存時以 UTC+0 儲存,再跟據不同的時間做查詢或顯示。
  • 用當地時間儲存,但額外記錄時區。
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

1 participant