[ZBX-6626] Bug in graph period calculation Created: 2013 May 26  Updated: 2017 May 30  Resolved: 2013 May 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.0
Fix Version/s: 2.1.0

Type: Incident report Priority: Minor
Reporter: Raymond Kuiper Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: timeperiodselection
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix.org


Attachments: PNG File zabbix.org.png     PNG File zabbix.org2.png    

 Description   

When looking at the irc users graph on Zabbix.org, I noticed the graph period was stated as 6y 12m 1d. Since 12m is actually a year, one would expect it to show 7y 1d.

https://www.zabbix.org/zabbix/history.php?action=showgraph&itemid=623&sid=6672e95b2b36bef3



 Comments   
Comment by Eduards Samersovs (Inactive) [ 2013 May 28 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6626

Comment by richlv [ 2013 May 28 ]

(1) while the graph title now seems to be ok, time shown in the time period scrollbar still says "6y 12m 2d 22h"

edit : see https://www.zabbix.org/ZBX-6626/history.php?action=showgraph&itemid=623

Eduards RESOLVED r.35916

<richlv> looking good now, CLOSED

Comment by Raymond Kuiper [ 2013 May 28 ]

As indicated by Richlv's comment, graph slider is still showing the wrong values.

Comment by Pavels Jelisejevs (Inactive) [ 2013 May 29 ]

TESTED.

Please review my changes in r35929.
Eduards OK, Closed

Comment by Eduards Samersovs (Inactive) [ 2013 May 29 ]

Fixed in versions pre-2.2.0 (beta) r.35937

Generated at Fri Apr 26 10:56:33 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.