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
/
elements
/
cust_main_dayranges.html
diff --git
a/httemplate/search/elements/cust_main_dayranges.html
b/httemplate/search/elements/cust_main_dayranges.html
index
9e4e86f
..
b3f1a2e
100644
(file)
--- a/
httemplate/search/elements/cust_main_dayranges.html
+++ b/
httemplate/search/elements/cust_main_dayranges.html
@@
-110,7
+110,7
@@
my $range_sub = delete($opt{'range_sub'}); #or die
my $offset = 0;
if($cgi->param('as_of')) {
- $offset = int((time -
str2
time($cgi->param('as_of'))) / 86400);
+ $offset = int((time -
parse_date
time($cgi->param('as_of'))) / 86400);
$opt{'title'} .= ' ('.$cgi->param('as_of').')' if $offset > 0;
}