X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7ec0c9a0229aa160d7419922d2f4ba7e87480cd6..4d57f81eef643ecd34082dc872557b6b4b6ec241:/sbr/dtime.c?ds=sidebyside diff --git a/sbr/dtime.c b/sbr/dtime.c index 53c56578..b4aaed8d 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -298,10 +298,8 @@ dtimezone (int offset, int flags) hours = offset / 60; } -#ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST if (flags & TW_DST) - hours += 1; -#endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */ + hours++; snprintf (buffer, sizeof(buffer), "%s%02d%02d", offset < 0 ? "-" : "+", abs (hours), abs (mins)); return buffer;