| Crates.io | dates-str |
| lib.rs | dates-str |
| version | 2.0.0 |
| created_at | 2022-12-29 00:30:09.462665+00 |
| updated_at | 2025-02-01 20:46:27.318562+00 |
| description | A minimal date formatting library. For if you don't need any fancy stuff. |
| homepage | |
| repository | https://github.com/pswsm/dates-str/ |
| max_upload_size | |
| id | 747065 |
| size | 25,280 |
An easy crate for using and formatting dates. Works with ISO-8601 formatted dates by default, but you can format your dates with a custom formatter.
The main struct of this crate is the DateStr struct.
By default and as of now, it only accepts a date in ISO-8601 format. In the near future you will be able to pass any date formatted however you like, as long as you provide a DateFormat.
The DateFormat struct is responsible for parsing dates when they are in non-ISO fromat. Only works for output at the moment.
TODO: