You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2019/01/31 16:03:00 UTC

[jira] [Resolved] (VCL-1109) date duplicated on statistic graph labels for day after daylight saving time rolls back

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

Josh Thompson resolved VCL-1109.
--------------------------------
    Resolution: Implemented

> date duplicated on statistic graph labels for day after daylight saving time rolls back
> ---------------------------------------------------------------------------------------
>
>                 Key: VCL-1109
>                 URL: https://issues.apache.org/jira/browse/VCL-1109
>             Project: VCL
>          Issue Type: Improvement
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>            Priority: Major
>             Fix For: 2.5.1
>
>
> On the statistic graphs, the day that daylight saving time rolls back is repeated as the label for the date on the day following it and then all labels after that for the graph are off by a day. A simple fix is to add 3600 seconds to the line that generates the label for the date for each function that generates graph points:
> $label = date('m/d/Y', $i + 3600);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)