Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Use chrono for DateTime #28

@gagath

Description

@gagath

The dates from Gerrit are actually stored as String, but parsing them to chrono::Datetime could be more useful for date manipulation. Currently we have to parse dates from responses manually:

let created = Utc.datetime_from_str(&item.created, "%Y-%m-%d %H:%M:%S.%f").unwrap();

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