Monotonic time that never needs leapseconds
your_time.to_tai64
your_time.to_tai64n
your_tai64n.to_time
your_tai64na.to_time
Time.tai_update_leap_sec_tables!
Time.tai_update_leap_sec_tables!("https://your.server/path/here")
Add to shard.yml
dependencies:
tai:
github: steakknife/tai
version: ~> 0.1.0
make doc # creates ./docs
git clone https://github.com/steakknife/tai
cd tai
make check
MIT