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
c7b52bc730
commit
b6285ff792
3 changed files with 14 additions and 1 deletions
|
|
@ -53,6 +53,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