Simple Unix timestamp to human readable date converter. Convert unix timestamp in seconds or nanoseconds to RFC1123 format.
go install github.com/dartt0n/uts@latest
Usage: uts <unix timestamp>
$ uts 1724692825
> Mon, 26 Aug 2024 20:20:25 UTC
$ uts 1724858701000
> Wed, 28 Aug 2024 18:25:01 UTC
$ uts 1724858701000000
> Wed, 28 Aug 2024 18:25:01 UTC
$ uts 1723140436809000000
> Thu, 08 Aug 2024 21:07:16 UTC
$ uts 1724692825.123456789
> Mon, 26 Aug 2024 20:20:25 MSK
$ echo 1724692825 | uts
> Mon, 26 Aug 2024 20:20:25 UTC
just run
just test