Skip to content

Support for other (non ISO) week definitions #405

@bcourtine

Description

@bcourtine

This feature has already been asked in comments to issue #139 .

For example, in my French theater company, we use "theater weeks". Theses weeks are based on theater movie releases, that occur on Wednesday.

Since we needed it, I just released a chrono_ext crate with support for custom weeks ("theater weeks", sunday based weeks, and more generally any user defined week system). Source is available here: https://github.com/bcourtine/chrono-ext

I don't know if enough users are interested to justify an integration in chrono, but if you agree, you can of course integrate that code (but it probably requires some cleaning and performance improvements).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions