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

Implemented WeekField #765

Merged
merged 1 commit into from Jul 28, 2023
Merged

Implemented WeekField #765

merged 1 commit into from Jul 28, 2023

Conversation

azmeuk
Copy link
Member

@azmeuk azmeuk commented Jan 13, 2023

This implements the HTML week input field. The default expected format is %Y-W%W according to the mozilla doc:

A week string specifies a week within a particular year. A valid week string consists of a valid year number, followed by a hyphen character ("-", or U+002D), then the capital letter "W" (U+0057), followed by a two-digit week of the year value.

I am not very happy with the manual adding of %w but I did not find any other way to achieve this.

This should close #725

@azmeuk azmeuk added the enhancement New feature, or existing feature improvement label Jan 13, 2023
@azmeuk azmeuk merged commit 8fd3291 into wtforms:master Jul 28, 2023
7 checks passed
@azmeuk azmeuk deleted the week-field branch July 28, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, or existing feature improvement
Development

Successfully merging this pull request may close these issues.

Support fields for week, month and color
1 participant