Refactor code: Replace SystemTime(x)/60 with MinutesPastMidnight(x)

This commit is contained in:
Dianne Skoll
2023-12-09 10:41:03 -05:00
parent 8296d2b962
commit 6e53fd6924
7 changed files with 28 additions and 21 deletions
+1 -1
View File
@@ -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);
}