David Woodhouse wrote: > On Sat, 2005-04-30 at 12:53 +0200, Edgar Toernig wrote: > >>+ tm = localtime(&now); /* get timezone and tm_isdst */ >>+ offset = -timezone / 60; >>+ if (tm->tm_isdst > 0) >>+ offset += 60; > > > Some locales have DST offsets which aren't 60 minutes, don't they? > Correct. I believe South Australia is among them. -hpa - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sun May 01 09:15:45 2005
This archive was generated by hypermail 2.1.8 : 2005-05-01 09:15:45 EST