there's an off-by-one error in here somewhere

This commit is contained in:
2024-12-13 00:21:21 -05:00
parent 8eb121fb5e
commit c6b5605022
2 changed files with 54 additions and 0 deletions

View File

@@ -17,3 +17,7 @@ export const printTime = (duration: Temporal.Duration): string => {
return parts.join(", ");
};
export const toNum = (v: string) => {
return parseInt(v, 10);
};