9 releases
0.1.9 | Mar 8, 2023 |
---|---|
0.1.8 | Jan 10, 2023 |
0.1.7 | Dec 30, 2022 |
0.1.5 | Nov 10, 2022 |
0.1.1 | Nov 28, 2021 |
#139 in Date and time
44 downloads per month
Used in tboard
620KB
10K
SLoC
timens-rs
Simple and efficient timestamp representation. The main objective being interoperability with OCaml Core_kernel.Time_ns.
A significant part of the code has been adapted from the OCaml Core_kernel implementation.
The set of supported timezones can be filtered using the TIMENS_TZ_FILTER
environment variable, e.g.:
TIMENS_TZ_FILTER="London|New_York|Hong_Kong|Tokyo|GMT" cargo build
The tz repo is included as a git subtree, this can be updated via:
git subtree pull --prefix tz https://github.com/eggert/tz.git main --squash