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

時間格式統一。時區轉換、時間格式考慮用 moment。 #37

Open
barry800414 opened this issue Jan 24, 2018 · 0 comments
Open

Comments

@barry800414
Copy link
Contributor

整個 bot 儲存時間的方式要統一,並寫成文件。
目前 db 裡面,只要不是存成 ISODate object 的年、月、日、時、分、秒都會轉換成 UTC+8 時區。

也許可以考慮使用:
https://momentjs.com/

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