﻿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
28355	Widget rendering of non-ASCII date/time formats fails on Python 2	Samir Shah	nobody	"The change to widget rendering in #28176 ([https://github.com/django/django/commit/221e6e18177516ac4ac95e40c344b93d14dd607b PR]) has broken the rendering of field values that contain unicode, on Python 2, when the `input.html` template is used.

This works in Django 1.11.2:

{{{
import datetime
from django import forms

input = forms.TimeInput(format=u'τ-%H:%M')
input.render('my-input', datetime.time(10, 10))

> u'<input type=""text"" name=""my-input"" value=""\u03c4-10:10"" />'
}}}

This fails in Django 1.11.3 however and an empty value is rendered instead:

{{{
> u'<input type=""text"" name=""my-input"" value="""" />'
}}}

"	Bug	closed	Forms	1.11	Release blocker	fixed	widget		Accepted	1	0	0	0	0	0
