Inconsistent return value/type
While from_date
, get_last_week_of_year
and weeks_within
return a (Sequence
of) CalendarWeek
, current_week
returns an int
.
My proposal is to also let current_week
also return a CalendarWeek
. That way, the week number (which is currently returned), can still be accessed very easily (using .week
), and the information is more complete.
This would probably require a major version jump, because it's a breaking change.