You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Adam Twardowski (JIRA)" <ji...@apache.org> on 2013/09/13 19:26:51 UTC

[jira] [Updated] (TS-2223) Incorrect timezone offset when using %

     [ https://issues.apache.org/jira/browse/TS-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Twardowski updated TS-2223:
--------------------------------

    Description: 
My logs are showing the incorrect timezone offset for EDT (Eastern Daylight time).  ATS logs are showing -0500 when it should be -0400.  Apache returns the correct timezone.

It looks like the problem is somewhere in the LogUtils::timestamp_to_netscape_str function.

ATS:
{code}
"13/Sep/2013:13:08:36 -0500"...
{code}

Apache:
{code}
[13/Sep/2013:13:07:59 -0400]
{code}

  was:
My logs are showing the incorrect timezone offset for EDT (Eastern Daylight time).  ATS logs are showing -0500 when it should be -0400.  Apache returns the correct timezone.

ATS:
{code}
"13/Sep/2013:13:08:36 -0500"...
{code}

Apache:
{code}
[13/Sep/2013:13:07:59 -0400]
{code}

    
> Incorrect timezone offset when using %<cqtn>
> --------------------------------------------
>
>                 Key: TS-2223
>                 URL: https://issues.apache.org/jira/browse/TS-2223
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Adam Twardowski
>
> My logs are showing the incorrect timezone offset for EDT (Eastern Daylight time).  ATS logs are showing -0500 when it should be -0400.  Apache returns the correct timezone.
> It looks like the problem is somewhere in the LogUtils::timestamp_to_netscape_str function.
> ATS:
> {code}
> "13/Sep/2013:13:08:36 -0500"...
> {code}
> Apache:
> {code}
> [13/Sep/2013:13:07:59 -0400]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira