SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001938SiT!reportspublic2014-05-19 13:452014-05-19 14:30
ReporterFrans 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformlinuxOScentosOS Version2.6+later
Product Version3.67 LTS 
Target VersionFixed in Version 
Summary0001938: Statistics shows wrong day in first column.
DescriptionUsing dashboard_statistics: open the statistics page
using the button of this dashboard table.
The first column has the names of the days.
One day is missing.
Additional InformationThe reason for the missing day is the time zone, which is negative in south America.
Solution added.
File : statistics.php
Lines 241->245 and 255->259 and 263->266.
Change the first parameter of the first mktime.
Change zero hours to 12 hours.
TagsNo tags attached.
Attached Files? file icon statistics.php [^] (25,491 bytes) 2014-05-19 13:45
? file icon statistics_daybreakdown.inc.php [^] (1,617 bytes) 2014-05-19 14:25

- Relationships

-  Notes
(0004940)
Frans (reporter)
2014-05-19 14:24

Same correction in the file: inc\statistics_Daybreakdown.inc.php
(0004941)
Frans (reporter)
2014-05-19 14:30

The file statistics_Daybreakdown.inc.php
has an error in the line: 34
echo "<h2>".sprintf($strStatsFromDayStatistics, $dateString);
Must be $dayString :
echo "<h2>".sprintf($strStatsFromDayStatistics, $dayString);

- Issue History
Date Modified Username Field Change
2014-05-19 13:45 Frans New Issue
2014-05-19 13:45 Frans File Added: statistics.php
2014-05-19 14:24 Frans Note Added: 0004940
2014-05-19 14:25 Frans File Added: statistics_daybreakdown.inc.php
2014-05-19 14:30 Frans Note Added: 0004941


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker