Mandatory Step
Recommended Step
Description
Describe the bug
With a date format set in pelicanconf.py (e.g. DEFAULT_DATE_FORMAT), the Date shows up correctly, but the and Modified field shows in a fixed but dependent on LOCALE format.
Relevant pelicanconf.py:
DEFAULT_DATE_FORMAT = ('en_US.UTF-8', '%d %b %Y, %H:%M')
Article Markdown:
Date: 2014-10-30 12:00
Modified: 2017-08-03 0:00
I expect both fields to show the same, but they don't, as can be seen below in the screenshot.
To Reproduce
See description.
Expected behavior
Be consistent in date formatting to both Publish time and Modified time.
Screenshots

Desktop (please complete the following information):
not relevant
Smartphone (please complete the following information):
not relevant
Additional context
Using Pelican 4.2.0, also master branch of Elegant is affected.
Seems only partially fixed in 1da552c for only the Published date format, so I will provide a PR with the fix to also handle this in Modified subtemplate.
Mandatory Step
Recommended Step
Description
Describe the bug
With a date format set in
pelicanconf.py(e.g.DEFAULT_DATE_FORMAT), theDateshows up correctly, but the andModifiedfield shows in a fixed but dependent onLOCALEformat.Relevant
pelicanconf.py:Article Markdown:
I expect both fields to show the same, but they don't, as can be seen below in the screenshot.
To Reproduce
See description.
Expected behavior
Be consistent in date formatting to both Publish time and Modified time.
Screenshots

Desktop (please complete the following information):
not relevant
Smartphone (please complete the following information):
not relevant
Additional context
Using Pelican 4.2.0, also master branch of Elegant is affected.
Seems only partially fixed in 1da552c for only the Published date format, so I will provide a PR with the fix to also handle this in Modified subtemplate.