ClearOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020141ClearOSapp-bandwidth-viewer - Bandwidth Viewerpublic2018-05-14 14:472018-05-16 07:48
Assigned To 
PlatformClearOSOSOS Version
Product Version7.4.0 
Target Version7.5.0 UpdatesFixed in Version 
Summary0020141: Time not matching system time zone setting
DescriptionExploring in '/usr/clearos/apps/bandwidth_viewer/htdocs/getnetdata.php':

Line 160: Timezone set to 'Europe/London' instead of following timezone settings in 'System' > 'Settings' > 'Date and Time'.

After editing the timezone to 'America/Denver' it shows '02:00' when it should show '14:00' for 2 PM. I fixed this by changing Line 162 to '$time = mktime($hours+12, $localtime[1], $localtime[0], $localtime[4]+1, $localtime[3], $localtime[5] + 1900);'
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-05-14 14:47 cjones New Issue
2018-05-15 09:17 pbaldwin Status new => acknowledged
2018-05-16 07:48 pbaldwin Target Version => 7.5.0 Updates