hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit b7cd19ee08a420ebfff66065715111c55ecfd112
parent 614475fb8df946e48b236298f626a4ab2c566ad7
Author: Byron Torres <b@torresjrjr.com>
Date:   Tue,  2 Aug 2022 01:14:47 +0100

time::chrono: fix conv_mtc_tai()

Diffstat:
Mtime/chrono/timescale.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/time/chrono/timescale.ha b/time/chrono/timescale.ha @@ -239,7 +239,7 @@ fn conv_mtc_tai(a: time::instant) (time::instant | time::error) = { // Get the TAI time. // '!' since TT and TAI are continuous. - const b = tt.from_tai(b)!; + const b = tt.to_tai(b)!; return b; };