[freeside-commits] freeside/httemplate/search report_prepaid_income.html, 1.7, 1.7.2.1
Ivan,,,
ivan at wavetail.420.am
Mon Mar 8 02:57:19 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv29007/httemplate/search
Modified Files:
Tag: FREESIDE_1_9_BRANCH
report_prepaid_income.html
Log Message:
proper use of date_format config for international date formats, RT#7009
Index: report_prepaid_income.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_prepaid_income.html,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -w -d -r1.7 -r1.7.2.1
--- report_prepaid_income.html 4 May 2009 02:01:43 -0000 1.7
+++ report_prepaid_income.html 8 Mar 2010 10:57:17 -0000 1.7.2.1
@@ -44,7 +44,7 @@
<SCRIPT TYPE="text/javascript">
Calendar.setup({
inputField: "date_text",
- ifFormat: "%m/%d/%Y",
+ ifFormat: "<% $date_format %>",
button: "date_button",
align: "BR"
});
@@ -58,4 +58,7 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+my $conf = new FS::Conf;
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
+
</%init>
More information about the freeside-commits
mailing list