vipickering/mastr-cntrl

Micropub posts dont respect timezones

vipickering opened this issue · 2 comments

A while back I hacked +/- GMT on to post times. I need to fix this to respect timezones.

When I post from the future (NZ) they dont appear until GMT time

The timezones are being recorded differently from Quill etc, than from Swarm. Whoops.
I need to standardise my timezone handling, and if possible respect the zone I am in.
UTC might be the best bet.

I switched the site over in the _config file to use NZ time. Everything else yields strange results on posts in the future when deployed to Netlify.
All the GMT values have been dropped on none GMT posts.