| ▲ | ddahlen an hour ago | |||||||
This looks interesting! Time is such a pain, I write code for simulating orbits of asteroids/stuff in the solar system, and time and time conversions play a major roll in it. I often need accuracy at the mega-year to giga-year scales, but also sometimes micro-second relative. I saw on this page that you at least mention TAI time, how are you handling time scales in general? Like would it be hard to add some other timescales like UT1? Right now I have to do all of this manually and I have been using chrono as just a convenience wrapper so that my users can convert ISO time strings into my internal representation. Edit: Oh no! I just found out chrono is being semi-deprecated, looks like I'm going to be switching... | ||||||||
| ▲ | burntsushi an hour ago | parent [-] | |||||||
Jiff only supports the Unix time scale. It sounds like you probably want `hifitime` instead! I believe it was designed with your use case in mind. See: https://docs.rs/hifitime/ | ||||||||
| ||||||||