﻿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
21556	Date field shows in changed_data due to different format	anonymous	nobody	"For a form, DateField can accept multiple formats, e.g. I can set 


{{{
form['mydate'].input_formats = ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y')
}}}


And if I post 


{{{
form.data = {'mydate': '01/15/2013'}
}}}


The form will happily accepts the format.

However, if the date did not really change:

{{{

form.initial = {'mydate': '2013-01-15'}
form.data = {'mydate': '01/15/2013'}

}}}

'mydate' will show up in form.changed_data, because widgets.DateInput._format_value can only use one format, there's no way to make the widget recognize multiple formats."	Bug	closed	Forms	1.5	Normal	worksforme			Unreviewed	0	0	0	0	0	0
