Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date related field can handle several formats #721

Merged
merged 2 commits into from
Dec 23, 2021

Conversation

azmeuk
Copy link
Member

@azmeuk azmeuk commented Dec 23, 2021

DateTimeField and other date related field can now handle a list of format.
Any input matching the format will be accepted. The first format in the list is used by default to fill HTML value param.

Also, by default DateTimeLocalFields accepts two input format with the separator being a space and a T letter. This fixes #720

@azmeuk azmeuk added bug Unexpected behavior enhancement New feature, or existing feature improvement labels Dec 23, 2021
@azmeuk azmeuk merged commit ab50409 into wtforms:master Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior enhancement New feature, or existing feature improvement
Development

Successfully merging this pull request may close these issues.

DateTimeLocalField should support T separator
1 participant