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:
cf5fa65
)
DATEV::CSV: DateTime->now_local benutzen
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 9 Nov 2017 13:00:25 +0000
(14:00 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 9 Nov 2017 13:00:25 +0000
(14:00 +0100)
SL/DATEV/CSV.pm
patch
|
blob
|
history
diff --git
a/SL/DATEV/CSV.pm
b/SL/DATEV/CSV.pm
index
d7bb999
..
3d81e62
100644
(file)
--- a/
SL/DATEV/CSV.pm
+++ b/
SL/DATEV/CSV.pm
@@
-272,8
+272,8
@@
sub header {
my @header;
# we can safely set these defaults
- # TODO
use Helper::DateTime and
get length_of_accounts from DATEV.pm
- my $today = DateTime->now
(time_zone => "local")
;
+ # TODO get length_of_accounts from DATEV.pm
+ my $today = DateTime->now
_local
;
my $created_on = $today->ymd('') . $today->hms('') . '000';
my $length_of_accounts = length(SL::DB::Manager::Chart->get_first(where => [charttype => 'A'])->accno) // 4;
my $default_curr = SL::DB::Default->get_default_currency;