[freeside-commits] freeside/FS/FS cdr.pm,1.65,1.66
Ivan,,,
ivan at wavetail.420.am
Wed Oct 20 15:45:20 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv4748
Modified Files:
cdr.pm
Log Message:
auto-conversion of answerdate too
Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -w -d -r1.65 -r1.66
--- cdr.pm 27 Sep 2010 22:59:46 -0000 1.65
+++ cdr.pm 20 Oct 2010 22:45:18 -0000 1.66
@@ -285,7 +285,7 @@
# ;
# return $error if $error;
- for my $f ( grep { $self->$_ =~ /[a-z ]/i } qw( startdate enddate ) ) {
+ for my $f ( grep { $self->$_ =~ /\D/ } qw(startdate answerdate enddate)){
$self->$f( str2time($self->$f) );
}
More information about the freeside-commits
mailing list