Skip to content

Commit 1026406

Browse files
committed
time: show timezone in debug output
1 parent 49d8464 commit 1026406

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/time.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ uint32_t time_max_lt(time_t now, int daily_renew)
9191

9292
localtime_r(&now, &tm);
9393

94-
pr_debug("now=%04u-%02u-%02u %02u:%02u:%02u; renew=%04u",
94+
pr_debug("now=%04u-%02u-%02u %02u:%02u:%02u %s; renew=%04u",
9595
tm.tm_year + 1900, tm.tm_mon, tm.tm_mday,
96-
tm.tm_hour, tm.tm_min, tm.tm_sec,
96+
tm.tm_hour, tm.tm_min, tm.tm_sec, tm.tm_zone,
9797
daily_renew);
9898

9999
renew_tm = get_hhmm(&tm, daily_renew, 0);

0 commit comments

Comments
 (0)