~torresjrjr/date

date processor and playground for Hare date/time semantics

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~torresjrjr/date
read/write
git@git.sr.ht:~torresjrjr/date

You can also use your local clone with git send-email.

#date processor

$ hare build
$ ./date -h
$ ./date now
$ ./date -L America/Sao_Paulo -Z LAP_EARLY,GAP_END \
    '2000-10-08 12:00:00' truncate D
$ ./date -L Europe/Amsterdam -Z LAP_EARLY,GAP_END \
    '2000-10-29 01:30:00' add 2h
$ ./date -L Pacific/Apia -Z LAP_EARLY,GAP_END -R DEFAULT \
    '2011-12-29 12:00:00' reckon 1D

Patches: ~torresjrjr/public-inbox@lists.sr.ht