Skip to content

Wrong dates for september 2019 #7

@jonespen

Description

@jonespen

@datepicker-react/hooks

Describe the bug

1th September 2019 should be on a Sunday (when week starts on monday), but is Tuesday. I added some failing tests here: jonespen@cf776b7. Guess it's something in getDays, but couldn't figure out the logic

Source code (including props configuration)
See codesandbox https://codesandbox.io/s/clever-meadow-1ur39

Screenshots/Gifs
image

For reference, see Calendar.app screenshot:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions