Skip to content

Calendar date always selecting previous date incase date field is set without timestamp  #6356

@kkgowtamasa

Description

@kkgowtamasa

Grommet Calendar always picks the previous date to incase the date field is sent in "YYYY-MM-DD" format.

Expected Behavior

It should select the specified date even without the time being sent.

URL, screen shot, or Codepen exhibiting the issue

Screenshot 2022-09-28 at 10 11 36 PM
Screenshot 2022-09-28 at 10 11 10 PM

https://v2.grommet.io/calendar?c=DwYQhgNgpgdgJmATgKAASoM4EsBeUC8ARBgLaQSFqoIAuBA3oQEwAMTTAtAIwsfsBcPfgGYWhAL5UA9jADKUaAGMa+egApaUAJSp8APlT1xkgPR6gA

Your Environment

  • Grommet version: any version (2.21.0)
  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile): Mac, Windows

Metadata

Metadata

Assignees

No one assigned

    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