Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.21 KB

0024-chronicity.org

File metadata and controls

38 lines (27 loc) · 1.21 KB

chronicity

This library works well together with local-time. It is amazing because it is able to parse human-readable strings into the local-time:timestamp objects:

POFTHEDAY> (local-time:now)
@2020-03-30T13:50:54.523151+03:00

POFTHEDAY> (values
            (chronicity:parse
             "2018-02-14 15:34"))
@2018-02-14T15:34:00.000000+03:00

POFTHEDAY> (values
            (chronicity:parse
             "15 April 16PM"))
@2020-04-15T16:00:00.000000+03:00

POFTHEDAY> (values
            (chronicity:parse
             "5 days ago"))
@2020-03-25T13:51:16.700641+03:00

Being able to use natural language to enter dates into the computer, is very convenient.

Well done, @chaitanya_gupta!

Update