diff --git a/src/libCom/tsSubr.c b/src/libCom/tsSubr.c index 3b2efce6c..1396d958a 100644 --- a/src/libCom/tsSubr.c +++ b/src/libCom/tsSubr.c @@ -807,6 +807,13 @@ struct tsDetail *pT; /* I pointer to time structure to convert */ else if (pT->dstOverlapChar == 'd') dst = 1; } +/*---------------------------------------------------------------------------- +* assume no DST if tsMinWest is 600 (includes Hawaii and may be +* exclusively Hawaii?). (WFL, 95/08/15) +*----------------------------------------------------------------------------*/ + if (tsMinWest == 600) + dst = 0; + if (dst) stamp.secPastEpoch -= TS_DST_HRS_ADD * 3600; stamp.secPastEpoch += tsMinWest*60; @@ -869,6 +876,13 @@ struct tsDetail *pT; /* O pointer to time structure for conversion */ dst = 1; } +/*---------------------------------------------------------------------------- +* assume no DST if tsMinWest is 600 (includes Hawaii and may be +* exclusively Hawaii?). (WFL, 95/08/15) +*----------------------------------------------------------------------------*/ + if (tsMinWest == 600) + dst = 0; + /*---------------------------------------------------------------------------- * now, if necessary, change the time stamp to daylight and then convert * the resultant stamp to local time.