[freeside-commits] freeside/rt/lib/RTx Statistics.pm,1.1,1.1.10.1
Ivan,,,
ivan at wavetail.420.am
Tue Jan 18 01:32:55 PST 2011
- Previous message: [freeside-commits] freeside/rt/lib/RTx Statistics.pm,1.1,1.2
- Next message: [freeside-commits] freeside/FS/FS/part_pkg bulk.pm, 1.10.2.1, 1.10.2.2 discount_Mixin.pm, 1.1.2.1, 1.1.2.2 flat.pm, 1.53.2.3, 1.53.2.4 flat_introrate.pm, 1.3.6.1, 1.3.6.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/lib/RTx
In directory wavetail.420.am:/tmp/cvs-serv16954
Modified Files:
Tag: FREESIDE_2_1_BRANCH
Statistics.pm
Log Message:
fix RTx Statistics years for 2011
Index: Statistics.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RTx/Statistics.pm,v
retrieving revision 1.1
retrieving revision 1.1.10.1
diff -u -w -d -r1.1 -r1.1.10.1
--- Statistics.pm 20 Jun 2007 22:28:20 -0000 1.1
+++ Statistics.pm 18 Jan 2011 09:32:53 -0000 1.1.10.1
@@ -59,7 +59,8 @@
$secsPerDay = 86400;
# List of years and months to populate drop down lists
- at years =('2010', '2009', '2008', '2007', '2006', '2005', '2004', '2003' ,'2003' ,'2002');
+my @lt = localtime;
+ at years = reverse( 2002 .. ($lt[5]+1900) );
@months=qw/Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec/;
%monthsMaxDay = (
0 => 31, # January
- Previous message: [freeside-commits] freeside/rt/lib/RTx Statistics.pm,1.1,1.2
- Next message: [freeside-commits] freeside/FS/FS/part_pkg bulk.pm, 1.10.2.1, 1.10.2.2 discount_Mixin.pm, 1.1.2.1, 1.1.2.2 flat.pm, 1.53.2.3, 1.53.2.4 flat_introrate.pm, 1.3.6.1, 1.3.6.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list