Newsgroups: comp.std.c Path: utzoo!utgpu!watserv1!watmath!datangua From: datangua@watmath.waterloo.edu (David Tanguay) Subject: Re: Questions about mktime() Organization: University of Waterloo Date: Wed, 23 Jan 91 12:20:48 GMT Message-ID: <1991Jan23.122048.18192@watmath.waterloo.edu> References: <1991Jan18.225155.7310@druid.uucp> <1991Jan20.205039.7056@sq.sq.com> <1991Jan21.115249.24661@watmath.waterloo.edu> <1991Jan23.052427.17720@sq.sq.com> Lines: 16 |> Now what do we do with the double DST that Newfoundland has/had? | |It's "had", by the way; they only tried it for (the usual Daylight |Saving Time period during) one year. | |If I was an implementer having to deal |with Newfoundland, I'd be inclined to say that localtime() would assign |1 to tm_isdst for a 1-hour advance, and 2 for a 2-hour advance. OK until Newfoundland tries a 90 minute DST. How about 2 meaning "figure it out", e.g., with an environment variable, or an OS call. Given that they were dissatisfied enough with 1 hour to try 2 hours, I think that 90 minutes is a possibility. It would even put them in phase with the rest of N.A. :-) -- David Tanguay Software Development Group, University of Waterloo