﻿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
4428	DateTimeField's clean() does not support millisecond resolution	berto	Malcolm Tredinnick	"I ran into this problem when experimenting with newforms' form_from_instance().  When a model with a DateTimeField is saved and then retrieved using form_for_instance, the value contains milliseconds.  The DateTimeField's clean() does not handle the milliseconds and validation fails.  I found this snippet and incorporated it into clean():

http://www.thescripts.com/forum/thread506538.html

Attached is a patch.

Thanks!
-berto."		closed	Forms	dev		fixed	datetimefield, datetimeinput		Accepted	1	0	0	1	0	0
