This commit is contained in:
Ryan Burnette 2015-01-13 02:21:28 -05:00
parent e13c800b3a
commit 936c737a32
1 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,8 @@ module Jekyll
case input
when Time
input
when Date
input.to_time
when String
Time.parse(input) rescue Time.at(input.to_i)
when Numeric