mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 08:25:53 +08:00
8 lines
226 B
Bash
8 lines
226 B
Bash
|
# 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""
|