palantir/blueprint
View on GitHubDateInput2 weird timezone UX when typing incomplete date
Open
#5,443 opened on Jul 19, 2022
P1Package: datetimeType: bughelp wanted
Repository metrics
- Stars
- (20,263 stars)
- PR merge metrics
- (Avg merge 43d 10h) (27 merged PRs in 30d)
Description
Environment
- Package version(s): @blueprintjs/datetime2 as of #5440
Steps to reproduce
- visit docs preview from #5440, or build the repo at https://github.com/palantir/blueprint/commit/fbe3c9e3662f0d0dc4096e082c4f3f014e0ab01f
- type "7/19/202" into DateInput2
Actual behavior
Incomplete date results in a very unexpected timezone shown in the TimezoneSelect
Expected behavior
Don't parse strange/invalid timezones like this
Possible solution
??