Skip to content

Fix DOS in Date.add and Date.sub - #391

Open
Joshix-1 wants to merge 2 commits into
printfn:mainfrom
Joshix-1:date-interrupt
Open

Fix DOS in Date.add and Date.sub#391
Joshix-1 wants to merge 2 commits into
printfn:mainfrom
Joshix-1:date-interrupt

Conversation

@Joshix-1

@Joshix-1 Joshix-1 commented Aug 4, 2026

Copy link
Copy Markdown

Changes

@1970-01-01 + 213503982334 days freezes the shell while trying to compute a preview. It doesn't get interrupted.

Fix that by checking for interrupt in the loop.


Checklist

  • I used LLMs or similar AI tools when creating this pull request

@Joshix-1 Joshix-1 mentioned this pull request Aug 6, 2026
1 task
@Joshix-1 Joshix-1 changed the title Fix DOS in Date.add Fix DOS in Date.add and Date.sub Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant