9 个版本

0.1.9 2023年3月8日
0.1.8 2023年1月10日
0.1.7 2022年12月30日
0.1.5 2022年11月10日
0.1.1 2021年11月28日

#130日期和时间

每月 35 次下载
tboard 中使用

MIT/Apache

620KB
10K SLoC

C 7K SLoC // 0.2% comments Rust 2K SLoC // 0.0% comments AWK 1K SLoC // 0.2% comments Korn shell 583 SLoC // 0.1% comments Shell 32 SLoC // 0.1% comments

timens-rs

简单高效的时标表示。主要目标是与 OCaml Core_kernel.Time_ns 兼容。

Build Status Latest version Documentation License

代码的大部分已经从 OCaml Core_kernel 实现。

可以使用 TIMENS_TZ_FILTER 环境变量来过滤支持的时区集,例如。

TIMENS_TZ_FILTER="London|New_York|Hong_Kong|Tokyo|GMT" cargo build

包括 tz 仓库 作为 git 子树,这可以通过以下方式更新。

git subtree pull --prefix tz https://github.com/eggert/tz.git main --squash

依赖