SkillAgentSearch skills...

Unfy

A command line utility that automagically replaces UNIX timestamps with human interpretable timestamps.

Install / Use

/learn @JensRantil/Unfy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Unfy

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

Example

Basic example:

$ 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-format RFC3339Nano
Timestamp: 2021-02-14T22:04:43.123+01:00

Outputting with relative time:

$ echo "Timestamp: 1613336683" | unfy --output-mode relative
Timestamp: 2 days ago
$ echo "Timestamp: 1613336683" | go run main.go --output-mode absolute+relative
Timestamp: 2021-02-14T22:04:43+01:00 (2 days ago)

The name?

unfy is short for un-UNIX-fy.

Related Skills

View on GitHub
GitHub Stars44
CategoryDevelopment
Updated2y ago
Forks1

Languages

Go

Security Score

75/100

Audited on Apr 16, 2023

No findings