From 2a0a0b320989e82f5c0f1ab8e291fc281d1b939d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 19 Jun 2014 11:35:32 +0200 Subject: [PATCH] =?utf8?q?PeriodicInvoices:=20Rechnugnen=20nicht=20einen?= =?utf8?q?=20Tag=20zu=20fr=C3=BCh=20erstellen,=20das=20gibt=20massig=20Pro?= =?utf8?q?bleme?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/BackgroundJob/CreatePeriodicInvoices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1