projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hilfsfunktionen zum Erzeugen von Checkbox- und Text-Input-Tags
[kivitendo-erp.git]
/
SL
/
Locale.pm
diff --git
a/SL/Locale.pm
b/SL/Locale.pm
index
d6ac181
..
8700873
100644
(file)
--- a/
SL/Locale.pm
+++ b/
SL/Locale.pm
@@
-358,11
+358,7
@@
sub reformat_date {
sprintf("%0" . (length($&)) . "d", $mm);
$output_format =~ /y+/;
sprintf("%0" . (length($&)) . "d", $mm);
$output_format =~ /y+/;
- if (length($&) == 2) {
- $yy -= $yy >= 2000 ? 2000 : 1900;
- }
- substr($output_format, $-[0], $+[0] - $-[0]) =
- sprintf("%0" . (length($&)) . "d", $yy);
+ substr($output_format, $-[0], $+[0] - $-[0]) = $yy;
$main::lxdebug->leave_sub();
$main::lxdebug->leave_sub();