Skip to content

Consider an API more in line with the Rust API guidelines #2

@quodlibetor

Description

@quodlibetor

Your API imitates Chrono's (which makes sense) with constructors like ::days(), but it's much more common in rust to have names like ::from_days() for static constructors.

Chrono is pretty old, and contains some styles that are unexpected to modern Rust programmers. I hope to migrate chrono to something that will cause less confusion for our users.

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