Skip to content

Strange behavior when picking the date in different timezones #6193

@igor-menovsky-ipf

Description

@igor-menovsky-ipf

Describe the bug
When the timeZone prop value (e.g., 'Pacific/Kiritimati') differs from the current browser timezone (e.g, 'UTC'), the date displayed in the date-picker input (and the calendar itself) is not the same user actually picks in the calendar.

To Reproduce
Steps to reproduce the behavior:

  1. Go to example: https://codesandbox.io/p/sandbox/6hvd2k
  2. Open Chrome DevTools and adjust the current browser location (Sensors panel) to be 'UTC'
  3. Pick the date Dec 26th 2025 in the calendar
  4. The calendar has actually picked Dec 25th 2025 and displays it in the input field + calendar

Expected behavior
When I pick a date in the calendar, the selection of this date should appear in the input field, regardless of the timeZone I have set and the current browser timezone.

Screenshots
I use calendar UI to pick Dec 26th 2025
Image

What I actually get is Dec 25th 2025
Image

Desktop (please complete the following information):

  • OS: Mac OS
  • Browser: Chrome
  • Version 143.0.7499.147

Additional context

Screen.Recording.2025-12-23.at.15.01.03.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions