Revision 28cc69e2
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
t/year_end/year_end.t | ||
---|---|---|
31 | 31 |
# (Ist-versteuerung, rather than Soll-versteuerung) |
32 | 32 |
|
33 | 33 |
# use 2019 instead of 2020 because of tax changes in Germany (19/16 and 7/5) because we check for account sums |
34 |
my $year = 2019 if DateTime->today_local->year == 2020;
|
|
34 |
my $year = 2019; |
|
35 | 35 |
my $start_of_year = DateTime->new(year => $year, month => 01, day => 01); |
36 | 36 |
my $booking_date = DateTime->new(year => $year, month => 12, day => 22); |
37 | 37 |
|
Auch abrufbar als: Unified diff
Testfall year_end repariert
.. lieber gleich hartkodiert in 2019 bleiben
(cherry picked from commit 506a5a693165b30c2e4b0abb3d33e1661a36128a)