#35142: DATE and DATETIME settings have no effect since USE_L10N was deprecated
-------------------------------------+-------------------------------------
Reporter: Paul | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: | Version: 5.0
Internationalization |
Severity: Normal | Resolution: needsinfo
Keywords: USE_L10N, | Triage Stage:
localization | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Paul):
> I don't think that it's true, can you provide a sample project that
reproduces your issue.
I've created a demo project at https://github.com/paulik123/django-demo-
l10n
Just create a demo object then click edit.
> True, if you don't like formats provided for a language you're working
with, you can use FORMAT_MODULE_PATH to specify your own format
definitions. This setting is documented, I'm not sure what else are you
trying to propose.
Yes, but not specifying that all format settings (DATE_FORMAT,
DATETIME_FORMAT etc) won't work if you just paste them settings.py seems
confusing to me. I think at least a note should be added saying that to
modify these settings you need to override formats.py
Replying to [comment:1 Mariusz Felisiak]:
--
Ticket URL: <https://code.djangoproject.com/ticket/35142#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d40a2ef16-502c7b68-508a-4523-a024-068971ffe40a-000000%40eu-central-1.amazonses.com.