[freeside-commits] freeside/httemplate/edit/elements ApplicationCommon.html, 1.7, 1.8
Ivan,,,
ivan at wavetail.420.am
Mon Mar 8 02:57:09 PST 2010
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main/payment_history voided_payment.html, 1.4, 1.5 credit.html, 1.5, 1.6 payment.html, 1.6, 1.7
- Next message: [freeside-commits] freeside/httemplate/edit cust_pay.cgi, 1.29, 1.29.2.1 quick-charge.html, 1.17, 1.17.2.1 REAL_cust_pkg.cgi, 1.20.2.2, 1.20.2.3 cust_credit.cgi, 1.24.2.1, 1.24.2.2 cust_refund.cgi, 1.8.4.1, 1.8.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv28949/httemplate/edit/elements
Modified Files:
ApplicationCommon.html
Log Message:
proper use of date_format config for international date formats, RT#7009
Index: ApplicationCommon.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/ApplicationCommon.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- ApplicationCommon.html 19 Dec 2009 22:52:47 -0000 1.7
+++ ApplicationCommon.html 8 Mar 2010 10:57:06 -0000 1.8
@@ -54,7 +54,7 @@
<TR>
<TD ALIGN="right">Date: </TD>
- <TD><B><% time2str("%D", $src->_date) %></B></TD>
+ <TD><B><% time2str($date_format, $src->_date) %></B></TD>
</TR>
<TR>
@@ -354,7 +354,7 @@
<OPTION VALUE="">Select <% $dst_thing %>
% foreach my $dst ( @dst ) {
- <OPTION<% $dst->$dst_pkey eq $dst_pkeyvalue ? ' SELECTED' : '' %> VALUE="<% $dst->$dst_pkey %>">#<% $dst->$dst_pkey %> - <% time2str("%D", $dst->_date) %> - $<% $dst->$dst_unapplied %>
+ <OPTION<% $dst->$dst_pkey eq $dst_pkeyvalue ? ' SELECTED' : '' %> VALUE="<% $dst->$dst_pkey %>">#<% $dst->$dst_pkey %> - <% time2str($date_format, $dst->_date) %> - $<% $dst->$dst_unapplied %>
% }
</SELECT>
@@ -400,6 +400,7 @@
my $conf = new FS::Conf;
my $money_char = $conf->config('money_char') || '$';
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
my $src_thing = ucfirst($opt{'src_thing'});
my $src_table = $opt{'src_table'};
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main/payment_history voided_payment.html, 1.4, 1.5 credit.html, 1.5, 1.6 payment.html, 1.6, 1.7
- Next message: [freeside-commits] freeside/httemplate/edit cust_pay.cgi, 1.29, 1.29.2.1 quick-charge.html, 1.17, 1.17.2.1 REAL_cust_pkg.cgi, 1.20.2.2, 1.20.2.3 cust_credit.cgi, 1.24.2.1, 1.24.2.2 cust_refund.cgi, 1.8.4.1, 1.8.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list