expiration month always 2 digits, RT#10161
authormark <mark>
Mon, 11 Oct 2010 23:36:07 +0000 (23:36 +0000)
committermark <mark>
Mon, 11 Oct 2010 23:36:07 +0000 (23:36 +0000)
httemplate/elements/select-month_year.html

index 34476bc..cbf90b6 100644 (file)
@@ -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'} || '';