﻿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
12524	Bad formatting on dates in JSON serializer causes ValidationError in loaddata	Gabriel Farrell	nobody	"Using SQLite I saw the following error when doing a loaddata on a fixture I had just dumped out:

{{{
ValidationError: [u'Enter a valid date/time in YYYY-MM-DD HH:MM[:ss[.uuuuuu]] format.']
}}}

Some poking around revealed some dates in my database were set to ""0001-01-01"", but in the fixture they had been serialized as ""   1-01-01"". The attached patch to the datetime_safe util fixed the issue, allowing me to load the data back in, weird dates and all."		closed	Core (Serialization)	dev		fixed			Accepted	1	0	0	0	0	0
