X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4db310433eb20ec95643299b0d14fefaea44b8bd..5fa3d9aa99f952d8ca032f94f9c47b739e2ef7e7:/h/tws.h diff --git a/h/tws.h b/h/tws.h index 03964b60..9acda6a6 100644 --- a/h/tws.h +++ b/h/tws.h @@ -1,12 +1,11 @@ /* tws.h -- time routines. */ -/* If the following is #defined, a timezone given as a numeric-only offset will +/* 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] */ @@ -25,7 +24,6 @@ struct tws { #define TW_NULL 0x0000 #define TW_SDAY 0x0003 /* how day-of-week was determined */ -#define TW_SNIL 0x0000 /* not given */ #define TW_SEXP 0x0001 /* explicitly given */ #define TW_SIMP 0x0002 /* implicitly given */