From e3a2fcd078ceacc561ce338cc32b7a449421f689 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 12 Jan 2011 16:01:25 +0100 Subject: [PATCH] =?utf8?q?Lokale=20Zeitzone=20f=C3=BCr=20Datumsberechnung?= =?utf8?q?=20verwenden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/LinkedRecords.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/LinkedRecords.pm b/SL/DB/Helper/LinkedRecords.pm index c1d31338b..6dc246d15 100644 --- a/SL/DB/Helper/LinkedRecords.pm +++ b/SL/DB/Helper/LinkedRecords.pm @@ -78,7 +78,7 @@ created today: my $invoices = $order->linked_records(direction => 'to', to => 'SL::DB::Invoice', - query => [ transdate => DateTime->today ]); + query => [ transdate => DateTime->today_local ]); Returns an array reference. -- 2.20.1