Remove double adjustment for daylight savings

This commit is contained in:
Andrew Pamment 2017-04-22 16:25:28 +10:00
parent 86089e4fb1
commit 1ad6a5f8f3

View File

@ -26,10 +26,6 @@ time_t utc_to_local(time_t utc) {
local = utc + date_time.tm_gmtoff; local = utc + date_time.tm_gmtoff;
if (date_time.tm_isdst) {
local += 3600;
}
return local; return local;
} }