Revision cd5739ff
Von Jan Büren vor fast 9 Jahren hinzugefügt
SL/BackgroundJob/SelfTest/Transactions.pm | ||
---|---|---|
43 | 43 |
my ($self) = @_; |
44 | 44 |
|
45 | 45 |
# TODO FIXME calc dates better, unless this is wanted |
46 |
# my $year = |
|
47 |
#$self->fromdate(DateTime->new(day => 1, month => 1, year => DateTime->today->year)); |
|
48 |
#$self->todate($self->fromdate->clone->add(years => 1)->add(days => -1)); |
|
49 |
$self->fromdate(DateTime->new(day => 1, month => 1, year => 2015)); |
|
46 |
$self->fromdate(DateTime->new(day => 1, month => 1, year => DateTime->today->year)); |
|
50 | 47 |
$self->todate($self->fromdate->clone->add(years => 1)->add(days => -1)); |
51 |
$main::lxdebug->message(0, 'hier und dort:' . $self->fromdate . ' mit ' . $self->todate); |
|
52 | 48 |
$self->dbh($::form->get_standard_dbh); |
53 | 49 |
} |
54 | 50 |
|
Auch abrufbar als: Unified diff
SelfTests falscher Zeitraum für Standard-Tests