diff options
author | San Jacobs | 2023-10-15 16:50:06 +0200 |
---|---|---|
committer | San Jacobs | 2023-10-15 16:50:06 +0200 |
commit | 5f685eaabf4c57606c3b86791a33d5cdce46ec67 (patch) | |
tree | b1ab9be29e77848268adc177a943400cec382505 /src | |
parent | ce29f3a14900b7ec3e4916af7956dfe5baf3aaf0 (diff) | |
download | satscalc-5f685eaabf4c57606c3b86791a33d5cdce46ec67.tar.gz satscalc-5f685eaabf4c57606c3b86791a33d5cdce46ec67.tar.bz2 satscalc-5f685eaabf4c57606c3b86791a33d5cdce46ec67.zip |
FIX THIS
Diffstat (limited to 'src')
-rw-r--r-- | src/time.odin | 3 |
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 --$-- // |