Date and Posts not showing up?
Opened this issue · 5 comments
I noticed that the date for one of my posts was a bit off, it said "yesterday" two hours after I posted and said it was posted at 9:00 (I posted it at 7). It was be a problem with me not writing the date or time well (I'm not used to 24-hour) or maybe the timezone is set different, but also one of my other posts won't even show up. I'm really confused and don't know why this is happening.
If you look at this line: https://github.com/muan/scribble/blob/master/index.html#L8 you'll see data-time
here, and the actual )time in the tag is just plain date string, which should be 22 October 2013
or similar. You see relative time (i.e. yesterday
, 2 hours ago
because there's javascript doing the translation, called here: https://github.com/muan/scribble/blob/master/_assets/basics.coffee#L3 and the actual function prettyDate
is here: https://github.com/muan/scribble/blob/master/javascripts/pd.js
You can look into your site HTML to see what's the time being output as [data-time]
. The problem should be related to the time zone difference, you can try setting time zone like this: https://github.com/muan/muan.github.com/blob/master/_config.yml#L9
As for post not showing up, your 2013-10-19-afterthoughts
does not have a file extension, it should be 2013-10-19-afterthoughts.md
.
I see. Thanks for your help!
For somebody living in San Francisco, what can I place for the Time Zone in _config.yml?
You can find relevant information in Jekyll documentation: http://jekyllrb.com/docs/configuration/
The wiki link in the doc leads to this: http://en.m.wikipedia.org/wiki/List_of_tz_database_time_zones
On 23 Oct 2013, at 02:50, Donovan Roudabush notifications@github.com wrote:
For somebody living in San Francisco, what can I place for the Time Zone in _config.yml?
—
Reply to this email directly or view it on GitHub.
Ok. Thanks! Setting to Amarica/Los Angeles
On Tue, Oct 22, 2013 at 7:03 PM, Mu-An Chiou notifications@github.comwrote:
You can find relevant information in Jekyll documentation:
http://jekyllrb.com/docs/configuration/
The wiki link in the doc leads to this:
http://en.m.wikipedia.org/wiki/List_of_tz_database_time_zonesOn 23 Oct 2013, at 02:50, Donovan Roudabush notifications@github.com
wrote:For somebody living in San Francisco, what can I place for the Time Zone
in _config.yml?—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-26875539
.