Crates.io | timens |
lib.rs | timens |
version | 0.1.9 |
source | src |
created_at | 2021-11-27 19:21:58.554315 |
updated_at | 2023-03-08 20:33:32.301186 |
description | Simple and efficient library for timestamp and date manipulation. |
homepage | |
repository | https://github.com/LaurentMazare/timens-rs |
max_upload_size | |
id | 488529 |
size | 1,884,835 |
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