New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Modified (Last Updated) date not formatted to locale/dateformat #613
Comments
gertvdijk
added a commit
to gertvdijk/pelican-elegant
that referenced
this issue
May 30, 2020
This applies the same fix as with the Published date format in commit 1da552c. Fixes Pelican-Elegant#613
gertvdijk
added a commit
to gertvdijk/pelican-elegant
that referenced
this issue
May 30, 2020
This applies the same fix as with the Published date format in commit 1da552c. Fixes Pelican-Elegant#613
gertvdijk
added a commit
to gertvdijk/pelican-elegant
that referenced
this issue
May 30, 2020
This applies the same fix as with the Published date format in commit 1da552c. Fixes Pelican-Elegant#613
5 tasks
gertvdijk
added a commit
to gertvdijk/pelican-elegant
that referenced
this issue
May 31, 2020
This applies the same fix as with the Published date format in commit 1da552c. Fixes Pelican-Elegant#613
talha131
pushed a commit
that referenced
this issue
May 1, 2021
# [5.4.0](V5.3.0...V5.4.0) (2021-05-01) ### Bug Fixes * allow PLUGINS to be None ([491228f](491228f)) * **article:** use locale formatted Modified (Last Updated) date ([5823306](5823306)), closes [#613](#613) ### Features * **analytics:** add support for Modern Google Analytics gtag ([7f5d4c5](7f5d4c5)) * **gallery:** add support for creating PhotoSwipe gallery from the Instagram ([c3bbfdb](c3bbfdb)) * **gallery:** add support for the Instagram album with multiple images ([cd567cf](cd567cf))
:tada: This issue has been resolved in version 5.4.0 :tada: The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mandatory Step
Recommended Step
Description
Describe the bug
With a date format set in
pelicanconf.py
(e.g.DEFAULT_DATE_FORMAT
), theDate
shows up correctly, but the andModified
field shows in a fixed but dependent onLOCALE
format.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.
The text was updated successfully, but these errors were encountered: