[freeside-commits] freeside/httemplate/search/elements cust_main_dayranges.html, 1.2.2.3, 1.2.2.4
Ivan,,,
ivan at wavetail.420.am
Fri Apr 9 01:18:02 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail.420.am:/tmp/cvs-serv7282/httemplate/search/elements
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.2.2.3
retrieving revision 1.2.2.4
diff -u -w -d -r1.2.2.3 -r1.2.2.4
--- cust_main_dayranges.html 1 Apr 2010 21:30:49 -0000 1.2.2.3
+++ cust_main_dayranges.html 9 Apr 2010 08:18:00 -0000 1.2.2.4
@@ -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