ruhoh / ruhoh.rb

http://ruhoh.com
616 stars 69 forks source link

Support finer granularity than "day" in sort #294

Closed ameuret closed 10 years ago

ameuret commented 10 years ago

I am aware that this is a known issue but I could not find it per se so I thought I'd add it to stress that it is very valuable for high frequency blogs. Once I get around the code base I will try to add a spec.

ameuret commented 10 years ago

Scratch this. It seems this has indeed been solved. The date resource field correctly parses ISO8601 strings such as:

date: '2014-07-05 06:02:07 +0200'

You can get such date strings by hand by throwing this at any Ruby console:

Time.now.to_s