Uncover HN: A CLI utility automagically changing Unix timestamps

55
Uncover HN: A CLI utility automagically changing Unix timestamps

unfy is a uncover line utility that automagically identifies and translated
UNIX timestamps (since epoch) to human readable timestamps.

Example

In vogue instance:

$ echo "Timestamp: 1613336683" | unfy
Timestamp: 2021-02-14T22: 04: 43+01: 00

Parsing UNIX timestamps in millisecond resolution:

$ echo "Timestamp: 1613336683123" | unfy --milliseconds
Timestamp: 2021-02-14T22: 04: 43+01: 00
$ echo "Timestamp: 1613336683123" | unfy --milliseconds --predefined-structure RFC3339Nano
Timestamp: 2021-02-14T22: 04: 43.123+01: 00

Outputting with relative time:

$ echo "Timestamp: 1613336683" | unfy --output-mode relative
Timestamp: 2 days in the past
$ echo "Timestamp: 1613336683" | drag trail major.drag --output-mode absolute+relative
Timestamp: 2021-02-14T22: 04: 43+01: 00 (2 days in the past)

The title?

unfy is brief for un-UNIX-fy.

Be part of the pack! Be part of 8000+ others registered users, and fetch chat, assassinate teams, submit updates and assassinate company spherical the sector!
www.knowasiak.com/register/

Featured Content Ads

add advertising here
Charlie Layers
WRITTEN BY

Charlie Layers

Fill your life with experiences so you always have a great story to tell