Georges Basile Stavracas Neto 9644c30eee date-time-utils: Fix weekday calculation
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
2019-09-14 11:14:01 -03:00
2019-05-17 21:58:55 +02:00
2019-09-09 12:31:13 -03:00
2019-09-08 15:11:48 +00:00
2019-05-04 12:05:39 -03:00
2018-07-31 12:35:56 -03:00
2019-05-04 22:45:14 -03:00
2018-02-23 16:11:36 -03:00
2012-04-25 23:56:34 -04:00
2018-01-28 00:32:07 -02:00
2017-09-08 21:34:52 -03:00
2019-05-04 12:28:24 -03:00
2019-09-09 12:31:13 -03:00
2019-09-09 12:31:13 -03:00
2019-09-13 21:13:35 +00:00
2018-01-16 08:32:43 -02:00

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.

Flatpak

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