Added a strftime filter
This commit is contained in:
parent
8477cb5946
commit
5b886e8704
|
@ -9,6 +9,10 @@ module Jekyll
|
|||
date.strftime("%d %B %Y")
|
||||
end
|
||||
|
||||
def strftime(date, format = '%x')
|
||||
date.strftime(format)
|
||||
end
|
||||
|
||||
def date_to_xmlschema(date)
|
||||
date.xmlschema
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue