From eca8aac0aafd6397827f9820be06ac93368cd772 Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Tue, 7 Feb 2023 08:09:21 +0100 Subject: Extremely minor cleanup --- src/time.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/time.cpp b/src/time.cpp index 9cf7802..c9609ad 100755 --- a/src/time.cpp +++ b/src/time.cpp @@ -129,7 +129,8 @@ workday::workday(const moment& previous_wrap, planned_wrap = planned_wraptime; timeblock initial_block{call, std::max( - // Paragraph 6.7 says that up to 2 hours of unused warned overtime counts as worktime, though so that at least one hour of the unused overtime is not counted. + // Paragraph 6.7 says that up to 2 hours of unused warned overtime counts as worktime, + // though so that at least one hour of the unused overtime is not counted. // (It's unclear if an 8-hour day that ends 3 hours in counts as having 5 hours of unused overtime) std::clamp(planned_wrap-(delta){0, 1, 0}, wraptime, planned_wraptime+(delta){0, 2, 0}), call+(delta){0, 4, 0})}; @@ -319,7 +320,8 @@ bool moment::isEaster() { moment gaussEaster(int year) { // Thanks to Carl Friedrich Gauss for the algorythm - // Thanks rahulhegde97, bansal_rtk_, code_hunt, sanjoy_62, simranarora5sos and aashutoshparoha on GeeksForGeeks for the implementation I based this on. + // Thanks rahulhegde97, bansal_rtk_, code_hunt, sanjoy_62, simranarora5sos + // and aashutoshparoha on GeeksForGeeks for the implementation I based this on. float A, B, C, P, Q, M, N, D, E; int easter_month = 0; int easter_day = 0; -- cgit v1.2.1