octopress / date-format

Automatically adds variables with nicely formated dates and time tags to Jekyll posts and pages.
MIT License
16 stars 13 forks source link

No longer allows specifying timezone? #8

Closed domenic closed 8 years ago

domenic commented 8 years ago

I'm trying out Octopress 3.0, and it seems like the timezone config is no longer respected. All my generated times are now e.g.

<time datetime="2015-03-15T20:00:00-04:00" itemprop="datePublished">Mar 15, 2015</time>

instead of their previous

<time datetime="2015-03-16T00:00:00Z" itemprop="datePublished">Mar 16, 2015</time>

Is there any way to fix this, short of setting my computer to UTC before running Octopress/Jekyll? I have tried adding timezone: UTC to my _config.yaml with no success.

domenic commented 8 years ago

Sorry, dumb mistake, was running in the wrong folder so of course it didn't update. The _config.yaml still works.