Re: Trying to use AUTHOR_DATE
- From
- Kay Sievers <kay.sievers@vrfy.org>
- Date
- Apr 30, 2005, 12:08 UTC
- Message-ID
- <1114862920.17673.1.camel@localhost.localdomain>
- In-Reply-To
- <1114859594.24014.60.camel@localhost.localdomain>
On Sat, 2005-04-30 at 12:13 +0100, David Woodhouse wrote:
Show 7 quoted lines
> 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?
Yes, some have half-hour offsets: http://www.timeanddate.com/library/abbreviations/timezones/au/nft.html
Kay