mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-31 09:20:21 +00:00
b6924f3ef1
We're defining formats for std::chrono types, which feels wrong (because fmt itself also has these), so just replace them with functions: short_time_from_now(...) gives a short "in 14m12s" or "5.123s ago" time span relative to now, given a time point. Precision gets reduced for larger deviations from now (e.g. "4h12m ago"). ToString(Duration_t) gives a string such as "-3h22m02.123s" for a duration. |
||
---|---|---|
.. | ||
ihophandler.cpp | ||
ihophandler.hpp | ||
path_context.cpp | ||
path_context.hpp | ||
path_types.hpp | ||
path.cpp | ||
path.hpp | ||
pathbuilder.cpp | ||
pathbuilder.hpp | ||
pathset.cpp | ||
pathset.hpp | ||
transit_hop.cpp | ||
transit_hop.hpp |