Closed jacqui closed 2 years ago
Gah, timezones! For me in ET, I set to August 1, and the page shows July 31, 8 p.m. That's probably because we're storing in UTC and my browser is interpreting it as such, then converting to ET. I guess we need to allow people to set times and timezones?
Doh! My bad, I forgot that JS stores everything in UTC. I've updated the sidebar to be consistent about displaying and storing the time in UTC. It was already storing it that way, but ended up converting it to local time on the way back. I'm getting consistent results now.
Closes #330
Selecting a date in the new date picker will override the first published date, which is otherwise automatically set in the database. This is testable using the latest code in the script editor.