palantir/blueprint

DateInput2 weird timezone UX when typing incomplete date

Open

#5,443 建立於 2022年7月19日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
P1Package: datetimeType: bughelp wanted

描述

Environment

  • Package version(s): @blueprintjs/datetime2 as of #5440

Steps to reproduce

  1. visit docs preview from #5440, or build the repo at https://github.com/palantir/blueprint/commit/fbe3c9e3662f0d0dc4096e082c4f3f014e0ab01f
  2. 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

??

貢獻者指南

DateInput2 weird timezone UX when typing incomplete date · palantir/blueprint#5443 | Good First Issue