9644c30eee9723c57d10d97b11446224afc708fc
GNOME Calendar needs to deal with two different weekday ranges: 1. Sunday → 0 ... Saturday → 6 2. Monday → 1 ... Sunday → 7 (used by GDateTime) When converting (2) into (1), the correct calculation is `weekday % 7`. However, gcal_date_time_get_start_of_week() was doing `weekday - 1` instead. Fix it and do the correct calculation instead. https://gitlab.gnome.org/GNOME/gnome-calendar/issues/451
GNOME Calendar
GNOME Calendar is a simple and beautiful calendar application for GNOME. We give a lot of attention to details, and as such, design is an essential and ongoing effort.
Useful links
- Homepage: https://wiki.gnome.org/Apps/Calendar
- Report issues: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/
- Donate: https://www.gnome.org/friends/
- Translate: https://wiki.gnome.org/TranslationProject
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%