#18769: Despite selected language, Forms still rely on LANGUAGE_CODE to format datetime (demo included) -------------------------------------+------------------------------------- Reporter: houmie | Owner: nobody Type: Bug | Status: closed Component: | Version: 1.4 Internationalization | Resolution: invalid Severity: Normal | Triage Stage: Keywords: formats, i18n, l10n | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by justinkhill@…): I'm having trouble getting my Canadian and Australian sites to use the correct date formatting via the localize=True method mentioned here. My other international sites are working correctly. I've decided it is because there are no en_AU and en_CA formats.py files in the django core project: https://github.com/django/django/tree/master/django/conf/locale Am I left to create my own as described here: https://docs.djangoproject.com/en/dev/topics/i18n/formatting/#creating- custom-format-files If so, so be it, but may I ask why such well know countries do not have their own formats.py in the core project? Am I doing it wrong? -- Ticket URL: <https://code.djangoproject.com/ticket/18769#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.e6457638445f25b97bca39aad9ad3fdf%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.