From a184041ea057e7440b6cba917bf4c24cf20b77d3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 22 Feb 2007 22:06:04 +0000 Subject: [PATCH] US DST Rules changed in 2007... --- src/libCom/tsSubr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libCom/tsSubr.c b/src/libCom/tsSubr.c index 2412a447b..de6530b27 100644 --- a/src/libCom/tsSubr.c +++ b/src/libCom/tsSubr.c @@ -131,8 +131,13 @@ * time), the two values would be 2 and 1, respectively (assuming * TS_DST_HRS_ADD is 1). *----------------------------------------------------------------------------*/ +#if 0 /* Years up to & including 2006 */ #define TS_DST_BEGIN -90 /* first Sun in Apr (Apr 1 = 90) */ #define TS_DST_END 303 /* last Sun in Oct (Oct 31 = 303) */ +#else /* Years from 2007 */ +#define TS_DST_BEGIN (59+14) /* second Sun in Mar (Mar 1 = 59) */ +#define TS_DST_END -304 /* first Sun in Nov (Nov 1 = 304) */ +#endif #define TS_DST_HOUR_ON 2 /* 2 a.m. (standard time) */ #define TS_DST_HOUR_OFF 1 /* 2 a.m. (1 a.m. standard time) */ #define TS_DST_HRS_ADD 1 /* add one hour */