Thank you all, yes — there's some good points there. (Some others raised on the PR and the ticket too.)
It's looks like there are still some caveats, and describing those succinctly remains to do. 👍 Kind Regards, Carlton On Wednesday, 29 September 2021 at 21:13:51 UTC+2 Tobias Bengfort wrote: > > Back then there were various issues with localisation when **not** > using type=text. > > As https://code.djangoproject.com/ticket/16630#comment:11 states: the > inputs only accept a special format. To make it work I had to explicitly > set the format: `DateInput(format='%Y-%m-%d', attrs={'type': 'date'}`. > > Another thing to be aware of: The native date picker UI uses the > system/browser locale, not the one that is used on the page. (See also > https://bugs.chromium.org/p/chromium/issues/detail?id=263320) > > Hope that helps > > tobias > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5c785fe6-396e-481e-9107-7928071912can%40googlegroups.com.