mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-25 18:50:58 +02:00
Refactor code: Replace SystemTime(x)/60 with MinutesPastMidnight(x)
This commit is contained in:
+1
-1
@@ -765,7 +765,7 @@ void InitRemind(int argc, char const *argv[])
|
||||
|
||||
/* Figure out the offset from UTC */
|
||||
if (CalculateUTC)
|
||||
(void) CalcMinsFromUTC(DSEToday, SystemTime(0)/60,
|
||||
(void) CalcMinsFromUTC(DSEToday, MinutesPastMidnight(0),
|
||||
&MinsFromUTC, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user