Crate parse_datetime
source ·Expand description
A Rust crate for parsing human-readable relative time strings and human-readable datetime strings and converting them to a DateTime
.
The function supports the following formats for time:
- ISO formats
- timezone offsets, e.g., “UTC-0100”
- unix timestamps, e.g., “@12”
- relative time to now, e.g. “+1 hour”
Enums§
Functions§
- Parses a time string and returns a
DateTime
representing the absolute time of the string. - Parses a time string at a specific date and returns a
DateTime
representing the absolute time of the string.