palantir/blueprint

DateInput3: Unable to select 6am with UTC timezone on the date of the end of daylight savings

Open

#6,524 创建于 2023年11月7日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P2Package: datetimeType: bughelp wanted

描述

Environment

  • Package version(s): 5.6.0
  • Operating System: macOS
  • Browser name and version: Chrome

Steps to reproduce

  1. Visit the DateInput3 docs https://blueprintjs.com/docs/#datetime2/date-input3
  2. Select UTC timezone and November 5th 2023 (or another date of the end of daylight savings e.g: November 6th 2022)
  3. Try entering 6 am, incrementing 5am to 6am, or decrementing 7am to 6am and see it is not possible to persist the 6am selection

6am

Actual behavior

When attempting to select 6am with the UTC timezone on the date of the end of daylight savings the selection changes to 5am

Expected behavior

When entering 6am with the UTC timezone on the date of the end of daylight savings the selection should persist as 6am

贡献者指南