Skip to content

Add weeks parameter to Time::Span.new#16208

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
Sija:add-weeks-parameter-to-time-span-new
Oct 19, 2025
Merged

Add weeks parameter to Time::Span.new#16208
straight-shoota merged 1 commit intocrystal-lang:masterfrom
Sija:add-weeks-parameter-to-time-span-new

Conversation

@Sija
Copy link
Contributor

@Sija Sija commented Oct 13, 2025

Given that we already have Int#weeks and Time::Span#total_weeks, not having the weeks parameter for Time::Span.new looks like an omission worth fixing.

@straight-shoota straight-shoota added this to the 1.19.0 milestone Oct 14, 2025
@straight-shoota straight-shoota merged commit 9937b8b into crystal-lang:master Oct 19, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants