Skip to content

Implement set_current_time_v1 - #395

Draft
Joshix-1 wants to merge 12 commits into
printfn:mainfrom
Joshix-1:set_current_time_v1
Draft

Implement set_current_time_v1#395
Joshix-1 wants to merge 12 commits into
printfn:mainfrom
Joshix-1:set_current_time_v1

Conversation

@Joshix-1

Copy link
Copy Markdown

Changes

Based on #392


Checklist

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

Joshix-1 added 12 commits August 4, 2026 18:00
- Improve speed for both when adding many years worth of days/weeks
- Date.add now works with the same units Date.sub supports
- Prevent Year.prev and Year.next from wrapping around or panicing
- fix panic/overflow when subbing too many years ("@1970-01-01 - (2^63) years" was 1970-01-01)
- add some more tests
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