apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: [PATCH] performance fix for time offset computation
Date Tue, 28 Aug 2001 23:36:51 GMT
On Tue, Aug 28, 2001 at 03:16:42PM -0700, Brian Pane wrote:
> Roy T. Fielding wrote:
> 
> >On Tue, Aug 28, 2001 at 11:15:41AM -0700, Brian Pane wrote:
> >
> >>Here's a new version of the get_offset patch that initializes
> >>the TZ offset from apr_initialize.  I've attached the new include
> >>file that it uses, apr/include/arch/unix/internal_time.h
> >>
> >
> >Out of curiosity, what happens when we switch from standard to
> >daylight time, or vice versa?  Does the calculation become wrong
> >until the current child is replaced?
> >
> As far as I can tell, the result of the calculation should be
> independent of daylight savings (e.g., always 5 for US/Eastern).

Then the calculation must be wrong, since EDT is -0400.  EST is -0500.

....Roy


Mime
View raw message