mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 11:24:21 +03:00
9e69892631
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 @. |
||
---|---|---|
.. | ||
contain | ||
crypto | ||
format.hoon | ||
html.hoon | ||
mimes.hoon | ||
ordered-map.hoon |