Skip to content

Week.onOffset looks fishy #18510

Closed
Closed
@jbrockmendel

Description

@jbrockmendel

A Week offset with weekday=None behaves very much like a Tick offset. The main difference is how they handle onOffset. Assuming normalize is False, the Week object will always return week.onOffset(other) --> False while the Day object will always return day.onOffset(other) --> True.

Is this intentional?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions