X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/642d15dd0286fccba9e86f1e97b0781e1f5b2869..42ea98b4:/SL/Locale.pm diff --git a/SL/Locale.pm b/SL/Locale.pm index e9967396c..c45a1a1f1 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -497,4 +497,10 @@ sub restore_numberformat { $myconfig->{numberformat} = $self->{saved_numberformat} if $self->{saved_numberformat}; } +sub get_local_time_zone { + my $self = shift; + $self->{local_time_zone} ||= DateTime::TimeZone->new(name => 'local'); + return $self->{local_time_zone}; +} + 1;