Crate anydate

Source
Expand description

§anydata

This crate is used to parse an unknown DateTime or Date format into a normalized version.

Any significant changes to anydate are documented in the CHANGELOG.md file.

§Usage

[dependencies]
anydate = "0.4"

§Features

Optional features:

  • serde: Enable deserialize_with helper functions via serde.

Modules§

date
Date parsing functions
datetime
DateTime parsing functions
errors
Parsing Errors
serde
serde helper deserialize functions

Functions§

parse
Attempts to parse the provided string into a DateTime<FixedOffset>. Also see parse_utc for a convenience conversion to DateTime<Utc>.
parse_utc
Attempts to parse the provided string into a DateTime<FixedOffset> but convert it to a DateTime<Utc> prior to returning automatically.