]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/isodate/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / isodate / README.md
1 # Isodate plugin
2
3 **Maintainer:** [@Frani](https://github.com/frani)
4
5 This plugin adds completion for the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601),
6 as well as some aliases for common Date commands.
7
8 To use it, add `isodate` to the plugins array in your zshrc file:
9
10 ```zsh
11 plugins=(... isodate)
12 ```
13
14 ## Aliases
15
16 | Alias         | Command                              | Description                                                                |
17 |---------------|--------------------------------------|----------------------------------------------------------------------------|
18 | isodate       | `date +%Y-%m-%dT%H:%M:%S%z`          | Display the current date with UTC offset and ISO 8601-2 extended format    |
19 | isodate_utc   | `date -u +%Y-%m-%dT%H:%M:%SZ`        | Display the current date in UTC and ISO 8601-2 extended format             |
20 | isodate_basic | `date -u +%Y%m%dT%H%M%SZ`            | Display the current date in UTC and ISO 8601 basic format                  |
21 | unixstamp     | `date +%s`                           | Display the current date as a Unix timestamp (seconds since the Unix epoch)|
22 | date_locale   | `date +"%c"`                         | Display the current date using the default locale's format                 |