projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix date parsing when using international dates (package date edit), RT#8027
[freeside.git]
/
httemplate
/
search
/
pay_batch.cgi
diff --git
a/httemplate/search/pay_batch.cgi
b/httemplate/search/pay_batch.cgi
index
fb45287
..
ebd323e
100755
(executable)
--- a/
httemplate/search/pay_batch.cgi
+++ b/
httemplate/search/pay_batch.cgi
@@
-97,12
+97,12
@@
my($begin, $end) = ( '', '' );
my @where;
if ( $cgi->param('beginning')
&& $cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/ ) {
my @where;
if ( $cgi->param('beginning')
&& $cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/ ) {
- $begin =
str2
time($1);
+ $begin =
parse_date
time($1);
push @where, "download >= $begin";
}
if ( $cgi->param('ending')
&& $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/ ) {
push @where, "download >= $begin";
}
if ( $cgi->param('ending')
&& $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/ ) {
- $end =
str2
time($1) + 86399;
+ $end =
parse_date
time($1) + 86399;
push @where, "download < $end";
}
push @where, "download < $end";
}