Revision b9ad2eee
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
t/helper/datetime.t | ||
---|---|---|
48 | 48 |
is tue->add_businessdays(businessweek => 6, days => 8), tue->add(days => 9), "tue + 8 => thu (date) (6dw)"; |
49 | 49 |
|
50 | 50 |
|
51 |
# same with substract
|
|
51 |
# same with subtract |
|
52 | 52 |
|
53 | 53 |
is mon->subtract_businessdays(days => 5)->day_of_week, 1, "mon - 5 => mon"; |
54 | 54 |
is mon->subtract_businessdays(days => 12)->day_of_week, 4, "mon - 12 => thu"; |
Auch abrufbar als: Unified diff
Typo im Kommentar: subtract statt substract