projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6602068
)
Daten auch in den neuen TEMPLATE_ARRAYS fomatieren.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 28 Sep 2009 12:46:42 +0000
(14:46 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 28 Sep 2009 12:46:42 +0000
(14:46 +0200)
Fix für Bug 1100
bin/mozilla/common.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/common.pl
b/bin/mozilla/common.pl
index
6ace578
..
c8d7d6b
100644
(file)
--- a/
bin/mozilla/common.pl
+++ b/
bin/mozilla/common.pl
@@
-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();