Skip to content

Calendar daylight savings handling not working in certain timezones #6043

@jcfilben

Description

@jcfilben

Expected Behavior

The date that is click on the calendar should be what is displayed as selected.

Actual Behavior

In certain timezones (eastern standard time is one) when you select a date in daylight savings time (mid March - mid November) and then select a date outside of daylight savings (late November - early March) the Calendar will show 1 day before what you actually selected.

URL, screen shot, or Codepen exhibiting the issue

This can be seen on the Calendar/Simple story

Steps to Reproduce

  1. Change timezone to eastern standard time
  2. Select March 30th on the Calendar
  3. Select March 2nd on the Calendar (date displayed will be March 1st)

Your Environment

  • Grommet version: 2.22.0
  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile):

Metadata

Metadata

Labels

bugissue that does not match design or documentation and requires code changes to address

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions