if ($mode eq "monat") {
$fromdate = DateTime->new(day => 1, month => $month, year => DateTime->today->year);
+ # december export is usually in january/february
+ $fromdate = $fromdate->subtract(years => 1) if ($month == 12);
+
$todate = $fromdate->clone->add(months => 1)->add(days => -1);
} elsif ($mode eq "quartal") {
die 'quarter out of of bounds' if $quarter < 1 || $quarter > 4;
'Debit/Credit Label' => 'Soll-/Haben-Kennzeichen',
'Dec' => 'Dez',
'December' => 'Dezember',
+ 'December last year period' => 'Dezember letzten Jahres',
'Decimalplaces' => 'Dezimalstellen',
'Decrease' => 'Verringern',
'Default (no language selected)' => 'Standard (keine Sprache ausgewählt)',
<option value=9>[% 'September' | $T8 %]</option>
<option value=10>[% 'October' | $T8 %]</option>
<option value=11>[% 'November' | $T8 %]</option>
- <option value=12>[% 'December' | $T8 %]</option>
+ <option value=12>[% 'December last year period' | $T8 %]</option>
</select></td>
</tr>
<tr>