shrub/pkg/arvo/tests/sys/zuse
Jōshin 9e69892631 zuse: time conversion fixes
State before: in chrono:userlib, there were second-resolution
@da-to-unix and unix-to-@da functions. In en/dejs:format, there were
millisecond-resolution @da-to-unix and unix-to-@da functions. The
@da-to-unix path in time:enjs confusingly rounded to the nearest
millisecond, meaning millisecond n was a label for [n-0.5, n+0.5) rather
than [n, n+1).

This adds a millisecond-resolution @da-to-unix and unix-to-@da to
chrono:userlib, and a second-resolution conversion to en/dejs:format.
It makes use of the chrono:userlib functions in en/dejs, and doesn't do
any rounding.

Backwards-incompatible changes:

- made unt:chrono:userlib take a @da rather than @.
2021-02-23 19:46:21 +00:00
..
contain Fix capped queues to not crash when the size is set to 0. 2019-08-06 14:59:33 -07:00
crypto hoon: renames +new-end, +new-lsh, +new-rsh 2020-12-02 01:00:09 -08:00
format.hoon zuse: time conversion fixes 2021-02-23 19:46:21 +00:00
html.hoon Add unit tests for json de/serialization. 2020-04-06 13:35:21 -04:00
mimes.hoon zuse: moves lib/base64 2020-12-08 02:36:11 -08:00
ordered-map.hoon ordered-map: got %zuse to compile and all tests to pass 2020-07-08 15:07:14 -04:00