timewarp

Crates.iotimewarp
lib.rstimewarp
version0.4.0
sourcesrc
created_at2023-04-04 09:49:16.640223
updated_at2023-12-06 13:52:11.088552
descriptionNLP library for parsing English and German natural language into dates and times.
homepage
repositoryhttps://github.com/NORICS-net/timewarp
max_upload_size
id830038
size55,921
Micha Glave (migmedia)

documentation

README

timewarp

crates.io crates.io Documentation

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.

Examples:

Direct Input

To input a 2022-12-01 you can type: 12/1/22, 01.12.22, 22-12-01.

Week

2022-W52, 2022W52, week 22-52 or KW 22/52 are interpreted as an intervall 2022-12-26 <= x < 2023-01-02.

Relative Dates

yesterday, tomorrow, etc. are calculated based of a given base. +4 weeks, -5 months, next friday, last thu ...

Commit count: 18

cargo fmt