Skip to content

Switch the sign week.Sub to match w-u instead of the curent u-w #12

@xkizer

Description

@xkizer

Currently, w.Sub(&u) returns u-w instead of w-u. This is both nonintuitive and inconsistend with time.Sub.

Change the sign of the return value of w.Sub(&u) to output w-u instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions