regex: fix typos in error messages
Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
time::date: implement zflag in reckon()
A new zoff parameter is added.
Breaking-change: 0.24.1
time::date: implement zflag in truncate()
A new zoff parameter is added.
Breaking-change: 0.24.1
time::date: implement zflag in from_str()
And fix test.
time::date: implement zflag in new()
time::date: implement zflag in realize()
time::date: add zflag enum, zfunresolved error
This commit begins the introduction of zone-offset resolution to the
time::date module.
time::date: rename calculus to rflag
A simpler name, and goes well with the upcoming "zflag".
Breaking-change: 0.24.1
time::date: realize: require .vloc, no UTC default
Breaking-change: 0.24.1
time::date: add v.century, v.year100
Parsing something like "%y-%m-%d" is now easier.
Co-authored-by: Byron Torres <b@torresjrjr.com>
Signed-off-by: Byron Torres <b@torresjrjr.com>
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
time::date: use nomimal constants throughout
time::chrono: make zoneindex type size
time::chrono: lookupzone: use sort
cmd/haredoc: Correctly display HTML module references
Signed-off-by: Alexey Yerin <yyp@disroot.org>
all: Use optional parameters for flags
Signed-off-by: Alexey Yerin <yyp@disroot.org>
encoding::base64: improve encoder struct size
Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
encoding::base64: rewrite decoder
It uses io::readall now instead of doing repeated reads on its own,
doesn't use static variables for storing state between reads and handles
short/partial reads much better.
References: https://todo.sr.ht/~sircmpwn/hare/819
Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>