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
Default date/time/timezone handling #33
Comments
@magnusjt This issue has been fixed in Sequelize |
@magnusjt Handling client and server following different timezone is complex, the solution you describe would work well. The problem then would be letting user parsing timestamps and date string themselves, opening the door to mistakes. |
@knoxcard I personally don't use sequelize, or any other orm's, so can't benefit from their fix @rusher "The problem then would be letting user parsing timestamps and date string themselves, opening the door to mistakes." - The mistake would be to parse them using Date, imo.. The ease of use argument is fair, but will inevitably lead to bugs for many people. Maybe it's just a question of making this clear in the documentation, and easy to configure for different time zone on client and server? |
Documentation never hurt. |
Guess this issue can be closed now, after the most recent release? |
better to keep it open as a reminder ! |
should we carry this over to JIRA and merge it with the other (similar) issue? (Think this has been resolved already?) |
closing, not an issue, but task, created as https://jira.mariadb.org/browse/CONJS-82 |
Thanks for your work on this library! I haven't used it yet, but it looks interesting.
I'm wondering how dates, times, and timezones are handled by default in this project. In my experience, people tend to stick with the defaults (at least until the bugs start to show up), so it's important that they are sane. The existing mysql libs don't do a good job here. In my opinion, the defaults should be:
What do you think?
The text was updated successfully, but these errors were encountered: