blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

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

Open mattskrobola opened this issue 1 year ago • 2 comments

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

mattskrobola avatar Nov 07 '23 23:11 mattskrobola

@mattskrobola, I am presently unable to reproduce this bug. Could you provide more details on how to reproduce?

LuisChiej avatar Nov 17 '23 10:11 LuisChiej

I'm seeing this reproduce with the instructions in the issue description.

It's not immediately clear to me how this should be handled, I imagine this time range is disabled since this hour is "repeated". This behavior also appears in some form for spring dates like March 10th 2024 where the daylight savings hour is similarly skipped.

evansjohnson avatar Jun 24 '24 19:06 evansjohnson