klipstein/dojango — Issue #72: 73 - USE_L10N breaks TimeField 
Author: klipstein
Created: 2011-11-06 13:32:38+00:00
State: closed

This should be mentioned in the docs: If USE_L10N is set to True, then the Dojo DateTimeField complains about the time not being valid, because the custom time format doesn't get selected at dojango/forms/fields.py, line 100.

Replacing formats.get_format('TIME_INPUT_FORMATS') with dj_settings.TIME_INPUT_FORMATS or turning USE_L10N off in settings.py fixes this.

Original link: http://code.google.com/p/dojango/issues/detail?id=73