From 1ad6a5f8f3ad318d1d4572f4d70b65f75d42c526 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sat, 22 Apr 2017 16:25:28 +1000 Subject: [PATCH] Remove double adjustment for daylight savings --- mail_menu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mail_menu.c b/mail_menu.c index 0a80d5e..a3bcf6f 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -26,10 +26,6 @@ time_t utc_to_local(time_t utc) { local = utc + date_time.tm_gmtoff; - if (date_time.tm_isdst) { - local += 3600; - } - return local; }