mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 17:28:29 -05:00
Merge branch 'date-format'
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
module Jekyll
|
||||
|
||||
module Filters
|
||||
def date_to_string(date)
|
||||
date.strftime("%d %b %Y")
|
||||
def date_to_string(date, format="%d %b %Y")
|
||||
date.strftime(format)
|
||||
end
|
||||
|
||||
def date_to_long_string(date)
|
||||
|
||||
Reference in New Issue
Block a user