Fix a few more SystemTime calls.

This commit is contained in:
Dianne Skoll
2018-11-04 13:47:18 -05:00
parent c9e6cd9796
commit 32fb1706c8
2 changed files with 2 additions and 2 deletions

View File

@@ -585,7 +585,7 @@ void InitRemind(int argc, char const *argv[])
}
/* Figure out the offset from UTC */
if (CalculateUTC)
(void) CalcMinsFromUTC(JulianToday, SystemTime(1)/60,
(void) CalcMinsFromUTC(JulianToday, SystemTime(0)/60,
&MinsFromUTC, NULL);
}

View File

@@ -75,7 +75,7 @@ int QueueReminder(ParsePtr p, Trigger *trig,
if (DontQueue ||
tim->ttime == NO_TIME ||
trig->typ == CAL_TYPE ||
tim->ttime < SystemTime(1) / 60 ||
tim->ttime < SystemTime(0) / 60 ||
((trig->typ == RUN_TYPE) && RunDisabled)) return OK;
qelem = NEW(QueuedRem);