Revision 991d36cb
Von Sven Schöling vor etwa 7 Jahren hinzugefügt
SL/DATEV/CSV.pm | ||
---|---|---|
272 | 272 |
my @header; |
273 | 273 |
|
274 | 274 |
# we can safely set these defaults |
275 |
# TODO use Helper::DateTime and get length_of_accounts from DATEV.pm
|
|
276 |
my $today = DateTime->now(time_zone => "local");
|
|
275 |
# TODO get length_of_accounts from DATEV.pm |
|
276 |
my $today = DateTime->now_local;
|
|
277 | 277 |
my $created_on = $today->ymd('') . $today->hms('') . '000'; |
278 | 278 |
my $length_of_accounts = length(SL::DB::Manager::Chart->get_first(where => [charttype => 'A'])->accno) // 4; |
279 | 279 |
my $default_curr = SL::DB::Default->get_default_currency; |
Auch abrufbar als: Unified diff
DATEV::CSV: DateTime->now_local benutzen