[freeside-commits] freeside/httemplate/elements select-month_year.html, 1.3, 1.4

Mark Wells mark at wavetail.420.am
Mon Oct 11 16:36:09 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv20019/httemplate/elements

Modified Files:
	select-month_year.html 
Log Message:
expiration month always 2 digits, RT#10161

Index: select-month_year.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-month_year.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- select-month_year.html	23 Aug 2006 22:25:38 -0000	1.3
+++ select-month_year.html	11 Oct 2010 23:36:07 -0000	1.4
@@ -12,7 +12,7 @@
 %  if ( $opt{'show_month_abbr'} ) {
 %    @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
 %  } else {
-%    @mon = ( 1 .. 12 );
+%    @mon = ( ( map "0$_", 1 .. 9 ), 10 .. 12 ), 
 %  }
 %
 %  my $date = $opt{'selected_date'} || '';



More information about the freeside-commits mailing list