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 returns timestamps on DATEONLY fields #9468
My DATEONLY fields are being stored as YYYY-MM-DD, but when I pull that data down to the client, it is being sent as a full timestamp with time and timezone parts.
I can try to workaround this with a custom get() method for each DATEONLY field, but things like changed() will still detect changes.
What do you expect to happen?
Data from DATEONLY fields to be returned without time (e.g. "2016-02-13")
What is actually happening?
Data from DATEONLY fields is being returned as with timestamp (e.g. "2016-02-13T00:00:00.000Z")
Dialect: mysql Dialect version: tedious 2.6.2 Database version: MS SQL Server 2017 (14.0.1000.169) Sequelize version: 4.37.8 Tested with latest release: Yes (If yes, specify that version) 4.37.8
Note :Your issue may be ignored OR closed by maintainers if it's not tested against latest version OR does not follow issue template.
Activity
jdownhower commentedon May 23, 2018
Thank you for the quickly jumping on this!