5 个版本
| 0.2.3 | 2022年4月28日 |
|---|---|
| 0.2.2 | 2022年4月28日 |
| 0.2.1 | 2022年4月28日 |
| 0.2.0 | 2022年4月28日 |
| 0.1.0 | 2022年4月28日 |
#216 in #formatting
5KB
51 代码行
watime
使用 Rust 编写的当前时间格式化工具。
获取当前时间。
watime
默认为毫秒
1651153473890
格式
秒
接受 s 或 second 或 seconds
watime -f s
毫秒
接受 m 或 ms 或 milli 或 millis
watime -f m
纳秒
接受 n 或 ns 或 nano 或 nanos
watime -f n
ISO RFC3339
watime -f iso
帮助
watime -h
依赖
~4.5MB
~78K SLoC