Reputation: 13731
I am building an app using node with a Postgres backend. I have a column for date where the data type is date
. The dates in the database are stored in the format YYYY-MM-DD. However, when I do a query in my app, the date returned is in the format YYYY-MM-DD + (time zone information). For example:
2016-01-06T05:00:00.000Z
Does anyone know how I can prevent this?
Thanks in advance!
Upvotes: 0
Views: 117