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/16 06:38:00 UTC

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

Josh Thompson created VCL-1109:
----------------------------------

             Summary: 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
             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)