express-admin icon indicating copy to clipboard operation
express-admin copied to clipboard

Datepicker saving timezone with timestamp

Open herrera-ignacio opened this issue 6 years ago • 1 comments
trafficstars

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?

herrera-ignacio avatar Oct 30 '19 21:10 herrera-ignacio

You have to use a preSave event hook most likely.

simov avatar Feb 17 '23 16:02 simov