From: Moritz Bunkus Date: Wed, 12 Jan 2011 15:01:25 +0000 (+0100) Subject: Lokale Zeitzone für Datumsberechnung verwenden X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~95 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e3a2fcd078ceacc561ce338cc32b7a449421f689;p=kivitendo-erp.git Lokale Zeitzone für Datumsberechnung verwenden --- 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.