Skip to content

Localization with first day of week different from Sunday is broken #55

@flo-l

Description

@flo-l

Describe the bug
If a locale does specify a differen first day of the week than sunday, the calendar is showing wrong date/weekday combinations.

To Reproduce
Steps to reproduce the behavior:

  1. use a locale that sets a different weekday than sunday as first day of the week, eg. en-GB.
  2. look at the calendar and check if date and weekday match

Expected behavior
The grid of days should be shifted, such that eg. mondays are in the first column.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux & Windows
  • Browser Chrome & Firefox
  • Version any

Smartphone (please complete the following information):

  • Device: Android
  • OS: any
  • Browser stock & firefox
  • Version any

Additional context
I introduced this bug with #46 . I'll try and fix it as soon as I have time.

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