c2964baaed3436bba5119f8dd5ceb76452352993
Instead of checking `g_date_time_get_week_of_year()`, which doesn't care about "first day of week" settings, we use our `gcal_date_time_get_start_of_week()` utility function. This function determines the first day of the week the passed date belongs to, constructs a new `GDateTime` object that represents the first day of week as 'Y-M-D 00:00:00' in local timezone, all while taking into account the "first day of week" Desktop setting. Fixes: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1212> Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/868>
Installation
Links
- Homepage: apps.gnome.org/Calendar
- Report an issue: gitlab.gnome.org/GNOME/gnome-calendar/issues
- Donate: donate.gnome.org
- Translate: l10n.gnome.org/module/gnome-calendar
- Contact: matrix.to/#/#gnome-calendar:gnome.org
Contributing
For information on how to contribute, please check CONTRIBUTING.md and HACKING.md.
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%
