Skip to content

Pass through strings as-in with date/time fields.#4196

Merged
lovelydinosaur merged 1 commit intomasterfrom
allow-strings-with-datetime-field
Jun 14, 2016
Merged

Pass through strings as-in with date/time fields.#4196
lovelydinosaur merged 1 commit intomasterfrom
allow-strings-with-datetime-field

Conversation

@lovelydinosaur
Copy link
Copy Markdown
Contributor

Closes #4013.
Closes #4019.

Ignore strings and pass through as-is from date/time fields.
Note that the existing implementation in TimeField/DateField was unnecessarily convoluted.
We can't know that the strings are necessarily in the correct format, but since they're already a valid type we'll just pass them through as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant