diff options
| author | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
|---|---|---|
| committer | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
| commit | 1eb69e9a795cc19450178c07d8d382622bc7ad70 (patch) | |
| tree | b6bc60605044fe929986f31b3b6bf4fee9b56e14 /.config/zsh/oh-my-zsh/plugins/isodate/README.md | |
first commit
Diffstat (limited to '.config/zsh/oh-my-zsh/plugins/isodate/README.md')
| -rw-r--r-- | .config/zsh/oh-my-zsh/plugins/isodate/README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/zsh/oh-my-zsh/plugins/isodate/README.md b/.config/zsh/oh-my-zsh/plugins/isodate/README.md new file mode 100644 index 0000000..5329310 --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/isodate/README.md @@ -0,0 +1,22 @@ +# Isodate plugin + +This plugin adds completion for the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), +as well as some aliases for common Date commands. + +To use it, add `isodate` to the plugins array in your zshrc file: + +```zsh +plugins=(... isodate) +``` + +**Maintainer:** [@Frani](https://github.com/frani) + +## Aliases + +| Alias | Command | Description | +|---------------|--------------------------------------|----------------------------------------------------------------------------| +| isodate | `date +%Y-%m-%dT%H:%M:%S%z` | Display the current date with UTC offset and ISO 8601-2 extended format | +| isodate_utc | `date -u +%Y-%m-%dT%H:%M:%SZ` | Display the current date in UTC and ISO 8601-2 extended format | +| isodate_basic | `date -u +%Y%m%dT%H%M%SZ` | Display the current date in UTC and ISO 8601 basic format | +| unixstamp | `date +%s` | Display the current date as a Unix timestamp (seconds since the Unix epoch)| +| date_locale | `date +"%c"` | Display the current date using the default locale's format | |
