Skip to content

Add support for day and week units in durations. #47

@jmalloc

Description

@jmalloc

These are not supported by Go durations as they are technically not fixed-length units of times when accounting for leap-seconds and leap-years, etc. For the purposes of this library we can define one day as exactly 24 hours, and one week as exactly 7 days.

The markdown documentation should contain a <details> section explaining this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions