﻿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
25189	DateTimeField cannot validate isoformat() datetime strings.	Keryn Knight	nobody	"given:
{{{
from datetime import datetime
dt = datetime.now()
formatted = dt.isoformat()
f = forms.DateTimeField()
f.clean(value=formatted)
}}}
a ValidationError will be raised because the default `sep` for isoformat is `T` and that format isn't in the default `DATETIME_INPUT_FORMATS`.

I came across this while looking to serialize a `form.cleaned_data` dictionary to JSON using the internal `DjangoJSONEncoder` - to work around it in what is ostensibly a re-usable app, I had to subclass the `DjangoJSONEncoder` to handle datetimes before going to the `super()`

I have a unit test and patch available, if accepted."	New feature	closed	Forms	dev	Normal	wontfix		django@…	Accepted	1	1	0	0	0	0
