id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 28090,TimeField's value incorrectly localized in forms,Tomek Rej,nobody,"When passing a `datetime.time` instance to the choices parameter in a `TimeField`, the admin template converts it to a human readable form. For example, `time(0, 0)` is converted to ""midnight"", `time(1, 30)` is converted to 1:30 a.m. In Django 1.10, it gets formatted as 00:00:00 and 01:30:00 respectively. An example of the choices I pass in to the constructor is: {{{ [ (datetime.time(0, 0), '00:00'), (datetime.time(0, 30), '00:30'), (datetime.time(1, 0), '01:00'), ...., (datetime.time(23, 30), '23:30') ] }}} This causes the admin form validation to fail with errors like the following: ''Select a valid choice. midnight is not one of the available choices.''",Bug,closed,Forms,1.11,Normal,duplicate,,ygan@…,Accepted,0,0,0,0,0,0