I believe this is a bug.  However, we have never been able to reliably fix
it.  You should check the APR list archives, because David Reid and I
discussed this a while back.  It was probably around March of this year.
You could also check CVS for the logs for the time code on Unix.  That
would give you a better idea of when we had the discussion.

Ryan

On Thu, 28 Jun 2001, Branko [ISO-8859-2] �ibej wrote:

> Right now, the Unix version of apr_implode_time completely ignores the
> tm_gmtoff field and does not adjust for the time zone.. This means that
> imploding an apr_time_t with a non-zero tm_gmtoffset will *not* yield a
> correct time value.
>
> My first reaction upon noticing this was to simply go and fix it, but
> then I noticed that tests/testtime.c expects this behaviour.
>
> Is this the expected behaviour, or is it a bug? When would you ever want
> to ignore the time zone, but wouldn't want to explicitly set the
> tm_gmtoff field to 0?
>
>
> --
> Brane �ibej
>     home:   <[EMAIL PROTECTED]>             http://www.xbc.nu/brane/
>     work:   <[EMAIL PROTECTED]>   http://www.hermes-softlab.com/
>      ACM :   <[EMAIL PROTECTED]>            http://www.acm.org/
>
>
>


_____________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to