dotfiles/zsh/.oh-my-zsh/plugins/isodate/isodate.plugin.zsh

8 lines
226 B
Bash
Raw Normal View History

2024-06-19 00:06:56 +02:00
# 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""