projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9582c37
)
Typo im Kommentar: subtract statt substract
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 30 Oct 2020 15:07:13 +0000
(16:07 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 30 Oct 2020 15:10:01 +0000
(16:10 +0100)
t/helper/datetime.t
patch
|
blob
|
history
diff --git
a/t/helper/datetime.t
b/t/helper/datetime.t
index
9d1dd03
..
4966540
100644
(file)
--- a/
t/helper/datetime.t
+++ b/
t/helper/datetime.t
@@
-48,7
+48,7
@@
is tue->add_businessdays(businessweek => 6, days => 9), tue->add(days => 10), "t
is tue->add_businessdays(businessweek => 6, days => 8), tue->add(days => 9), "tue + 8 => thu (date) (6dw)";
-# same with sub
s
tract
+# same with subtract
is mon->subtract_businessdays(days => 5)->day_of_week, 1, "mon - 5 => mon";
is mon->subtract_businessdays(days => 12)->day_of_week, 4, "mon - 12 => thu";