aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/time.odin3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/time.odin b/src/time.odin
index 712136d..7b8127d 100644
--- a/src/time.odin
+++ b/src/time.odin
@@ -94,6 +94,9 @@ new_workday :: proc(previous_wrap : Moment,
time_max(time_clamp(sub(planned_wrap, {0, 1, 0}), wrap, add(wrap, {0, 2, 0})),
add(call, {0, 4, 0})), 1, ""}
// ^ Minimum 4 hour day ^
+
+ // BUG: I think this is causing a bug where if the day ends at 6 and gets extended,
+ // it doesn't split the day at 6 and set the work-time before that to be extra expensive
sp_length :: 11
splitpoints:= [sp_length]Moment{ // --$-- Points where the price may change --$-- //