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 component should accept (and convert?) named months when written out #38

Open
andybroomfield opened this issue Aug 16, 2023 · 0 comments

Comments

@andybroomfield
Copy link
Contributor

New GDS advice

Accept month names written out in full or abbreviated form (for example, ‘january’ or ‘jan’) as some users may enter months in this way.

https://design-system.service.gov.uk/components/date-input/#:~:text=Accept%20month%20names%20written%20out%20in%20full%20or%20abbreviated%20form%20(for%20example%2C%20%E2%80%98january%E2%80%99%20or%20%E2%80%98jan%E2%80%99)%20as%20some%20users%20may%20enter%20months%20in%20this%20way.

This came from quant data on Apply for teacher training service, showing that many people did this.

It also follows our error validation guidance: "accept information in different formats, as long as it’s not ambiguous"

https://hachyderm.io/@joelanman/110887799325043574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant