X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FLocale.pm;h=b869587ca983c22d00f4112bd63fa28524efc48e;hb=f2354caba6501475fb0f09c8fb1fe970ea430c22;hp=e3ff236927c44d2f915b9ac49af31b1ff736b453;hpb=dffb7fd7f6cb0a71c6fdd98046e783868c415c75;p=kivitendo-erp.git diff --git a/SL/Locale.pm b/SL/Locale.pm index e3ff23692..b869587ca 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -42,6 +42,8 @@ use SL::LXDebug; use SL::Common; use SL::Inifile; +use strict; + sub new { $main::lxdebug->enter_sub(); @@ -229,6 +231,8 @@ sub date { my $longdate = ""; my $longmonth = ($longformat) ? 'LONG_MONTH' : 'SHORT_MONTH'; + my ($spc, $yy, $mm, $dd); + if ($date) { # get separator @@ -302,6 +306,7 @@ sub parse_date { $main::lxdebug->enter_sub(); my ($self, $myconfig, $date, $longformat) = @_; + my ($spc, $yy, $mm, $dd); unless ($date) { $main::lxdebug->leave_sub();