I have a Postgres database with a timestamp field set with " WITHOUT TIME ZONE" where I store datetime in UTC.
If I query my table directly on the command line, I get the good date.
But I can’t get this value with ForestAdmin/Sequelize
The problem, it’s that it is not the same date at the end…
I’ve checked GitHub - abelosorio/sequelize-date-no-tz-postgres: Add support for DATE (timestamp without time zone) data-type for PostgreSQL in Sequelize , How to configure column without timezone in timestamp? · Issue #2572 · sequelize/sequelize · GitHub
without much success.
Another option for me would be to be able to run a query with Sequelize without the “serializer” step. Just raw data.
I start to run out of options…
How can I get a datetime without timezone manipulation from a Postgres database?
- Project name: myflightconnect
- Agent (forest package) name & version: firstname.lastname@example.org
- Database type: Postgres