Crates.io | timewarp |
lib.rs | timewarp |
version | 0.4.0 |
source | src |
created_at | 2023-04-04 09:49:16.640223 |
updated_at | 2023-12-06 13:52:11.088552 |
description | NLP library for parsing English and German natural language into dates and times. |
homepage | |
repository | https://github.com/NORICS-net/timewarp |
max_upload_size | |
id | 830038 |
size | 55,921 |
NLP library for parsing English and German natural language into dates and times. Leverages pest for parsing human readable-dates and times. Tries to be as lenient as possible.
To input a 2022-12-01
you can type: 12/1/22
, 01.12.22
, 22-12-01
.
2022-W52
, 2022W52
, week 22-52
or KW 22/52
are interpreted as an
intervall 2022-12-26 <= x < 2023-01-02
.
yesterday
, tomorrow
, etc. are calculated based of a given base.
+4 weeks
, -5 months
, next friday
, last thu
...