simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 222 forks source link

Datepicker saving timezone with timestamp #153

Open herrera-ignacio opened 4 years ago

herrera-ignacio commented 4 years ago

I'm using Datepicker to save to a posgres TIMESTAMP WITH TIME ZONE, I can't find in the documentation any way to save timestamp with the local time zone, so then I can parse it to utc. Is there any way to do this?

simov commented 1 year ago

You have to use a preSave event hook most likely.