From: David Woodhouse Date: Sat, 30 Apr 2005 11:13:13 GMT Subject: Re: Trying to use AUTHOR_DATE Message-ID: <1114859594.24014.60.camel@localhost.localdomain> In-Reply-To: <20050430125333.2bd81b18.froese@gmx.de> 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? -- dwmw2