mindonwarp c2964baaed views/week-header: Avoid setting date when dates share the same start-of-week
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>
2026-10-04 23:00:35 +00:00
2026-10-02 21:27:15 +00:00
2026-10-03 10:47:15 +00:00
2025-04-04 23:59:13 +00:00
2019-05-04 12:05:39 -03:00
2018-07-31 12:35:56 -03:00
2012-04-25 23:56:34 -04:00
2026-09-13 17:37:54 -03:00
2026-03-12 01:02:30 -04:00

GNOME Calendar

Manage your schedule

Installation

Flatpak

Contributing

For information on how to contribute, please check CONTRIBUTING.md and HACKING.md.

S
Description
No description provided
Readme
19 MiB
Languages
C 97.6%
Meson 1.2%
CSS 0.7%
Python 0.3%
Shell 0.2%