palantir/blueprint

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

开放

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

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
P2Package: datetimeType: bughelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南