waltzofpearls / dateparser

Parse dates in commonly used string formats with Rust.
MIT License
41 stars 8 forks source link

dateparser: add `parse_with()` for configurable tz and default time #17

Closed waltzofpearls closed 2 years ago

waltzofpearls commented 2 years ago

a date string without time (eg. July 14, 2021) can be parsed into DateTime assigned with local time or midnight at UTC, for example, either 2021-07-14T22:51:35.983216400Z or 2021-07-14T00:00:00Z.

Resolves https://github.com/waltzofpearls/belt/issues/16