1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-11 01:40:53 +01:00
Files
oh-my-zsh/plugins/tt
yiming.zhang 83a79d06d0 add plugin tt
2019-10-17 10:20:47 +08:00
..
2019-10-17 10:20:47 +08:00
2019-10-17 10:20:47 +08:00

TT

This plugin provides mutual conversion of timestamp and date.

To use it add tt to the plugins array in your zshrc file.

plugins=(... tt)

Example

print timestamp for "2019-10-16"

tt 2019-10-16

print timestamp for "2019-10-16 18:41:00"

tt "2019-10-16 18:41:00"

print date for "1571222561"

tt 1571222561

echo 2019-10-16 18:42:41