Open Source Training Seminar FreePBX Paid Support

Ticket #2635 (closed Bugs: fixed)

Opened 8 months ago

Last modified 1 month ago

Monthly Traffic Report shows incorrect year for December

Reported by: rcolp Assigned to:
Priority: minor Milestone: 2.5
Component: Reports Version: 2.4-branch
Keywords: month monthly traffic report year Cc:
Confirmation: Confirmed SVN Revision (if applicable):
Backend Engine: Asterisk 1.2.x Backend Engine Version:

Description

When viewing the Monthly Traffic report in January, December shows up in the pie chart legend with the current year instead of the previous year.

For example, say today is January 15, 2008. I go into the Monthly Traffic Report, and choose -3 months in the "Laps of month to compare" field. The legend of the pie chart that gets generated shows:

Jan 2008 : 2703 min Dec 2008 : 388 min Nov 2007 : 0 min Oct 2007 : 0 min

The second line should say "Dec 2007 : 388 min".

Change History

01/16/08 10:22:19 changed by rcolp

Sorry, my example got mangled by the wiki. Here it is again with the proper line breaks:

Jan 2008 : 2703 min
Dec 2008 : 388 min
Nov 2007 : 0 min
Oct 2007 : 0 min

Again, note that December incorrectly shows up as 2008, when it should appear as 2007.

01/16/08 10:39:44 changed by p_lindheimer

  • confirmation changed from Unreviewed to Confirmed.
  • version changed from 2.3.1 to 2.4-branch.
  • milestone changed from Cut Line to 2.4.

02/09/08 13:20:09 changed by p_lindheimer

  • milestone changed from 2.4 to 3.0.

looks like a good one for someone to track down and get us a patch. Will be glad to apply the fix once determined and backport to current and previous releases. Bumping to next milestone for now.

08/02/08 19:18:12 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [6272]) fixes #2635 and fixes error introduced re #2963

08/02/08 19:25:59 changed by p_lindheimer

(In [6273]) prepare to publish to address re #2635, re #2792 and error introduced re #2963

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads