X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Ftws.h;h=5d99cf5a0fc6aed84b97b4e3b774d0cbd1eb34db;hp=83ec8806f339634f5ea552efa3732c310b8f3659;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=5f80fdd1ec6888f34af829208fd90fb9716ac289 diff --git a/h/tws.h b/h/tws.h index 83ec880..5d99cf5 100644 --- a/h/tws.h +++ b/h/tws.h @@ -1,12 +1,14 @@ /* * tws.h - * - * $Id$ */ -/* DST vs. GMT nonsense */ -#define DSTXXX +/* If the following is #defined, a timezone given as a numeric-only offset will + be treated specially if it's in a zone that observes Daylight Saving Time. + For instance, during DST, a Date: like "Mon, 24 Jul 2000 12:31:44 -0700" will + be printed as "Mon, 24 Jul 2000 12:31:44 PDT". Without the code activated by + the following #define, that'd be incorrectly printed as "...MST". */ +#define ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST 1 struct tws { int tw_sec; /* seconds after the minute - [0, 61] */