-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
ISO 8601 date format #520
Comments
And https://web.archive.org/web/20231204002243/https://archlinux.org/packages/extra/any/perl-test-most/ and https://archlinux.org/packages/extra/any/perl-test-most/ I don't believe this is a recent change. Maybe more something to do with Django 5. |
Actually it affects entire site. I will update title of the issue. I don't know if it is new Django version. I had similar issue 2 years ago, but it went away shortly. |
Quoting https://forum.djangoproject.com/t/datetime-format/30811/10:
|
I don't know what is the proper way to fix this, but replacing |
Explicitly specify the ISO 8601 format `Y-m-d H:i` in the date template. Django 5.0.5 removed the USE_L10N setting making the locale-specific formats override DATE_FORMAT and DATETIME_FORMAT. See https://forum.djangoproject.com/t/datetime-format/30811/10 for details. Fixes archlinux#520
Sorry for late ping @nl6720, I Must have missed email for this closure. Quick search can show difference between package details and packages page: |
Use the `Y-m-d` format everywhere. Fixes archlinux#520
Hello,
Previously (up until around the outage) packages page used to show dates in ISO 8601 format as can be seen on this snapshot https://web.archive.org/web/20240718044236/https://archlinux.org/packages/
After the outage it uses month day, year format https://web.archive.org/web/20240720124233/https://archlinux.org/packages/
Was there anything changed? Could it be reverted back to ISO 8601, thanks.
The text was updated successfully, but these errors were encountered: