X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fe4751dee76f518853a0546a2b0ef4149c2324c4..2a0a0b320989e82f5c0f1ab8e291fc281d1b939d:/SL/BackgroundJob/CreatePeriodicInvoices.pm diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index dc740cc30..1e55ef951 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -189,7 +189,7 @@ sub _create_periodic_invoice { sub _calculate_dates { my ($config) = @_; - return $config->calculate_invoice_dates(end_date => DateTime->today_local->add(days => 1)); + return $config->calculate_invoice_dates(end_date => DateTime->today_local); } sub _send_email {