summaryrefslogtreecommitdiffstats
path: root/src/dbus/doc/snippets/qdbusextratypes
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-06-23 18:35:04 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-06-25 12:48:37 +0200
commit100e0485572146e903fb96698cf6a5f34dd6c1f6 (patch)
treef6445aad7791b4d366c372d01df1332e61c019a0 /src/dbus/doc/snippets/qdbusextratypes
parente2c6f2ba7ed72195d12e9882c174e59a53317097 (diff)
Use qMod(, 7) rather than % 7 in day-of-week calculation
Otherwise, for the first day of a negative year, we'd get an invalid day of the week (required to be in the range 1 through 7). This is a follow-up to commit 1f4b237dade9d0d2ed5439e3834ac22985797561. Change-Id: If1afcd42065c26d5fa5799b0cd47921a3d424dc8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/dbus/doc/snippets/qdbusextratypes')
0 files changed, 0 insertions, 0 deletions