From 936c737a32769c45558da536e64d6aa9161535cd Mon Sep 17 00:00:00 2001 From: Ryan Burnette Date: Tue, 13 Jan 2015 02:21:28 -0500 Subject: [PATCH] Address #3298 --- lib/jekyll/filters.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index fca03437..5972aad6 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -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