Crates.io | ts-bin |
lib.rs | ts-bin |
version | 1.0.0 |
source | src |
created_at | 2020-12-12 11:20:49.016958 |
updated_at | 2020-12-12 11:20:49.016958 |
description | Print ISO 8601 or Unix timestamps on the command line |
homepage | |
repository | https://github.com/bbqsrc/ts |
max_upload_size | |
id | 322142 |
size | 21,530 |
Convenient, small, cross-platform command line tool for generating timestamps on the command line.
cargo install ts-bin
ts
prints an ISO 8601 UTC date and time string by default (e.g. 2020-12-12T11:10:40.229006Z
).
It supports the following flags:
-l
: prints a local time, like 2020-12-12T12:10:38.407088+01:00
-u
: prints a Unix epoch timestamp, like 1607771679
-H
: as above, but in hexadecimal format, like 5fd4a630
The ts-bin
crate is licensed under
The EUPL is a copyleft, GPL-compatible license managed by the European Union, with legally-equal translated versions in all languages of the EU. See this introduction for information about the purpose, objectives and translations of the license. See also the license compatibility matrix.