mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Makes DEFAULT_DATE accept string dates; fixes #1464
This commit is contained in:
parent
2ceeb88c63
commit
3f2d89c9d6
3 changed files with 15 additions and 1 deletions
|
|
@ -61,6 +61,8 @@ Setting name (followed by default value, if any)
|
|||
If ``'fs'``, Pelican will use the file system
|
||||
timestamp information (mtime) if it can't get
|
||||
date information from the metadata.
|
||||
If given any other string, it will be parsed by the same method
|
||||
as article metadata.
|
||||
If set to a tuple object, the default datetime object will instead
|
||||
be generated by passing the tuple to the
|
||||
``datetime.datetime`` constructor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue