feat(plugins): Add new isodate plugin for friendly date formatting commands (#9963)

* add isodate plugin
This commit is contained in:
Frani
2021-06-12 10:08:27 -03:00
committed by GitHub
parent 9bdbe08aa2
commit 6779e10759
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# work with date ISO 8601 easy
alias isodate="date +%Y-%m-%dT%H:%M:%S%z"
alias isodate_utc="date -u +%Y-%m-%dT%H:%M:%SZ"
alias isodate_basic="date -u +%Y%m%dT%H%M%SZ"
alias unixstamp="date +%s"
alias date_locale="date +"%c""