[freeside-commits] freeside/FS/FS/part_pkg torrus_Common.pm, 1.5, 1.6
Ivan,,,
ivan at wavetail.420.am
Sun Jan 23 16:46:15 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv13689
Modified Files:
torrus_Common.pm
Log Message:
torrus, RT#10574
Index: torrus_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/torrus_Common.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- torrus_Common.pm 24 Jan 2011 00:38:00 -0000 1.5
+++ torrus_Common.pm 24 Jan 2011 00:46:13 -0000 1.6
@@ -32,7 +32,7 @@
my @sdate = localtime($$sdate);
#sdate is next bill date, but we want the report from last month
- my($m, $y) = ($sdate[4], $sdate[5]);
+ my($m, $y) = ($sdate[4], $sdate[5]+1900);
if ( $m == 0 ) { $m=12; $y--; }
$m = "0$m" if length($m) == 1;
my $rep_date = "$y-$m-01";
More information about the freeside-commits
mailing list