diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index b1ef630..a5e1196 100644 --- a/src/utils.c +++ b/src/utils.c @@ -485,6 +485,7 @@ long update_time_in_date(long date, unsigned hr, unsigned mn) localtime_r(&t, <); lt.tm_hour = hr; lt.tm_min = mn; + lt.tm_sec = 0; new_date = mktime(<); EXIT_IF(new_date == -1, _("error in mktime")); |