]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/common.pl
Daten auch in den neuen TEMPLATE_ARRAYS fomatieren.
[mfinanz.git] / bin / mozilla / common.pl
index 6ace578f27459f85b8a5e221629b186c8ee6e966..c8d7d6bb29e2b780176f34fdf8b8c0b1d74ed7a5 100644 (file)
@@ -364,6 +364,13 @@ sub format_dates {
                                  $dateformat, $longformat);
       }
     }
+    if (ref($form->{TEMPLATE_ARRAYS}->{$idx}) eq "ARRAY") {
+      for (my $i = 0; $i < scalar(@{$form->{TEMPLATE_ARRAYS}->{$idx}}); $i++) {
+        $form->{TEMPLATE_ARRAYS}->{$idx}->[$i] =
+          $locale->reformat_date(\%myconfig, $form->{TEMPLATE_ARRAYS}->{$idx}->[$i],
+                                 $dateformat, $longformat);
+      }
+    }
   }
 
   $lxdebug->leave_sub();