Github Pages Jekyll posts time off

时间:2016-08-30 04:20:15

标签: github jekyll github-pages

I have this time in my posts markdown 2016-08-25 17:00:00 -0500

but Github Pages is displaying my post on the 26th...

Github is also doing this weird thing with my time in the preview of my post markdown files on Githubs website. enter image description here

How do I fix the timezone on my Github page? It's screwing up the post urls I want to link to.

Github is forcing my posts to -0700 and I'm trying to use -0500.. Any ideas?

1 个答案:

答案 0 :(得分:2)

_config.yml中,设置:

timezone: America/New_York

whatever timezone你在。