[freeside-commits] freeside/httemplate/search/elements cust_main_dayranges.html, 1.5, 1.6
Ivan,,,
ivan at wavetail.420.am
Fri Apr 9 01:18:01 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail.420.am:/tmp/cvs-serv7275/httemplate/search/elements
Modified Files:
cust_main_dayranges.html
Log Message:
fix date parsing when using international dates (package date edit), RT#8027
Index: cust_main_dayranges.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/cust_main_dayranges.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- cust_main_dayranges.html 1 Apr 2010 21:30:41 -0000 1.5
+++ cust_main_dayranges.html 9 Apr 2010 08:17:59 -0000 1.6
@@ -110,7 +110,7 @@
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;
}
More information about the freeside-commits
mailing list