Revision e3a2fcd0
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Helper/LinkedRecords.pm | ||
---|---|---|
78 | 78 |
|
79 | 79 |
my $invoices = $order->linked_records(direction => 'to', |
80 | 80 |
to => 'SL::DB::Invoice', |
81 |
query => [ transdate => DateTime->today ]); |
|
81 |
query => [ transdate => DateTime->today_local ]);
|
|
82 | 82 |
|
83 | 83 |
Returns an array reference. |
84 | 84 |
|
Auch abrufbar als: Unified diff
Lokale Zeitzone für Datumsberechnung verwenden