diff options
author | ivan <ivan> | 2011-01-18 09:32:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-01-18 09:32:52 +0000 |
commit | b25e6036d8c3e3c921eaa9a24d1899e08b80f905 (patch) | |
tree | a208ff952e853ba184ebaf6fe2915638ffde9e84 /rt | |
parent | 3abef78632d45098064258023dc487e8317d8124 (diff) |
fix RTx Statistics years for 2011
Diffstat (limited to 'rt')
-rwxr-xr-x | rt/lib/RTx/Statistics.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/lib/RTx/Statistics.pm b/rt/lib/RTx/Statistics.pm index 8b9d6e4..95cd706 100755 --- a/rt/lib/RTx/Statistics.pm +++ b/rt/lib/RTx/Statistics.pm @@ -59,7 +59,8 @@ $TimeToResolveGraphQueue = "General"; $secsPerDay = 86400; # List of years and months to populate drop down lists -@years =('2010', '2009', '2008', '2007', '2006', '2005', '2004', '2003' ,'2003' ,'2002'); +my @lt = localtime; +@years = reverse( 2002 .. ($lt[5]+1900) ); @months=qw/Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec/; %monthsMaxDay = ( 0 => 31, # January |