Revision ba5132e9
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/BackgroundJob/SetClosedTo.pm | ||
---|---|---|
22 | 22 |
&& $subtract_days =~ m/^\d+\z/); |
23 | 23 |
|
24 | 24 |
# new closedto |
25 |
my $new_closedto->subtract(months => $subtract_month, days => $subtract_days); |
|
25 |
my $new_closedto = DateTime->now_local->subtract(months => $subtract_month, days => $subtract_days);
|
|
26 | 26 |
|
27 | 27 |
my $defaults = SL::DB::Default->get; |
28 | 28 |
|
Auch abrufbar als: Unified diff
SetClosedTo: Neues Datum korrekt setzen