#15218: USE_L10N, USE_I18N and DateTime Validation ----------------------------------+----------------------------------------- Reporter: idle | Owner: nobody Status: new | Milestone: 1.3 Component: Internationalization | Version: 1.3-beta Keywords: | Triage Stage: Unreviewed Has patch: 0 | ----------------------------------+----------------------------------------- '''Since 1.2.4 and further till SVN''' the behaviour of DateTime widget seems to be weird.
As it stated in the documentation USE_L10N defaults to False and before 1.2.4 it worked as expected: 1. put LANGUAGE_CODE = 'ru' and USE_I18N = True into settings; 2. have contrib.admin in Russian with DateTime widgets using ISO format which differs from Russian native (2011-02-03 vs. 03.02.2011). Now doing the same with 1.2.4+ I have DateTime widget showing 03.02.2011 so it doesn't validate on save. [[BR]] The problem is resolved by setting USE_L10N = True, but that makes a little sense. ---- ''This ticket could be related to #13621 and #13968.'' -- Ticket URL: <http://code.djangoproject.com/ticket/15218> Django <http://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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.