From 8351103dc23c88bc390e9dd9e9c7112e7c4b80b5 Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Thu, 18 May 2023 16:37:45 +0200 Subject: Tested stuff, removed needless comment --- src/time.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/time.odin') diff --git a/src/time.odin b/src/time.odin index 56d7425..bdef718 100644 --- a/src/time.odin +++ b/src/time.odin @@ -72,7 +72,6 @@ new_workday :: proc(previous_wrap : Moment, // though so that at least one hour of the unused overtime is not counted. // (It's unclear if an 8-hour day that ends 3 hours in counts as having 5 hours of unused overtime) max(clamp(sub(planned_wrap, {0, 1, 0}), wrap, add(wrap, {0, 2, 0})), - //max(sub(planned_wraptime, {0,1,0}), wrap), add(call, {0, 4, 0})), 0, ""} // ^ Minimum 4 hour day ^ @@ -133,6 +132,8 @@ new_workday :: proc(previous_wrap : Moment, fmt.printf("Block %2i: %s\n", i+1, toString(each_block)) } + fmt.println(total_timeblocks) + // TODO: // BIG BLOCK OF RULES N SHIT GOES HERE // BIG BLOCK OF RULES N SHIT GOES HERE -- cgit v1.2.1