ClearFoundation Tracker - ClearOS
View Issue Details
0020141ClearOSapp-bandwidth-viewer - Bandwidth Viewerpublic2018-05-14 14:472019-02-23 13:06
cjones 
dloper 
normalminoralways
closedsuspended 
ClearOS
7.4.0 
7.6.0 Updates 
0020141: Time not matching system time zone setting
Exploring 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);'
No tags attached.
Issue History
2018-05-14 14:47cjonesNew Issue
2018-05-15 09:17user2Statusnew => acknowledged
2018-05-16 07:48user2Target Version => 7.5.0 Updates
2018-10-30 18:11user2Target Version7.5.0 Updates => 7.6.0 Updates
2019-02-23 13:06dloperNote Added: 0009231
2019-02-23 13:06dloperStatusacknowledged => closed
2019-02-23 13:06dloperAssigned To => dloper
2019-02-23 13:06dloperResolutionopen => suspended

Notes
(0009231)
dloper   
2019-02-23 13:06   
Migrated to: https://gitlab.com/clearos/clearfoundation/app-bandwidth-viewer/issues/1 [^]