diff options
Diffstat (limited to 'httemplate/search/elements/cust_main_dayranges.html')
-rw-r--r-- | httemplate/search/elements/cust_main_dayranges.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/cust_main_dayranges.html b/httemplate/search/elements/cust_main_dayranges.html index 9e4e86f9c..b3f1a2ef6 100644 --- 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 - str2time($cgi->param('as_of'))) / 86400); + $offset = int((time - parse_datetime($cgi->param('as_of'))) / 86400); $opt{'title'} .= ' ('.$cgi->param('as_of').')' if $offset > 0; } |