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 parsing functions
  • DateTime parsing functions
  • Parsing Errors
  • serde helper deserialize functions

Functions

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