Story Time: Incorrect Publish Times#rant
Last night, I published a post, and I noticed the published time was 14 hours off. (My time zone is America/Los_Angeles, which is UTC-7:00/8:00.) I knew it had something to do with the time zone, but I couldn’t tell what was wrong. I first thought it had to do with my MySQL time zone, and so I manually set that to UTC, which then made the publish times only 7 hours off. I then realized that perhaps the date that Ghost was using to calculate the local time was not UTC, rather it was my local time (the server’s time zone), and it was converting the already local time to “local time.” So, I then tried setting my server time zone to UTC, which fixed the problem. So yeah.
Update: Kevin from the Ghost staff just responded to my post on the forum and informed me that there was a bug "that matches exactly" my description, and that there was a patch. Thanks, Kevin!