Skip to content
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

Use ISO 8601 date format #530

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Use ISO 8601 date format #530

merged 1 commit into from
Oct 1, 2024

Conversation

nl6720
Copy link
Member

@nl6720 nl6720 commented Sep 28, 2024

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 #520

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
@jelly jelly merged commit b39c4c9 into archlinux:master Oct 1, 2024
1 check passed
@nl6720 nl6720 deleted the iso8601-date branch October 2, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ISO 8601 date format
2 participants