You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sequelize changes the datetime value when fetching it from DB #2590
Activity
janmeier commentedon Nov 19, 2014
You can fix this by telling sequelize what time zone your db is in
janmeier commentedon Nov 19, 2014
And please avoid posting the same problem in several issues :)
tomwang1013 commentedon Nov 19, 2014
@janmeier Setting the timezone didn't work, the fetched time is still the same:
janmeier commentedon Nov 19, 2014
Which version are you on?
tomwang1013 commentedon Nov 19, 2014
1.7.8
janmeier commentedon Nov 19, 2014
Sorry, that only works on 2.0. There is no planned fix for 1.7, so I'd suggest you to upgrade
tomwang1013 commentedon Nov 19, 2014
@janmeier Is 2.0 compatible with 1.7? i.e. the code of 1.7 still works in 2.0?
janmeier commentedon Nov 19, 2014
Mostly, but there are some breaking changes, hence the major version increment. Look at https://github.com/sequelize/sequelize/wiki/Upgrading-to-2.0 and the changelog to see what changed
janmeier commentedon Dec 3, 2014
Closing, please reopen if the issue persists in 2.0 @tomwang1013