Back to Ohmyzsh

Isodate plugin

plugins/isodate/README.md

latest1.2 KB
Original Source

Isodate plugin

This plugin adds completion for the 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

Aliases

AliasCommandDescription
isodatedate +%Y-%m-%dT%H:%M:%S%zDisplay the current date with UTC offset and ISO 8601-2 extended format
isodate_utcdate -u +%Y-%m-%dT%H:%M:%SZDisplay the current date in UTC and ISO 8601-2 extended format
isodate_basicdate -u +%Y%m%dT%H%M%SZDisplay the current date in UTC and ISO 8601 basic format
unixstampdate +%sDisplay the current date as a Unix timestamp (seconds since the Unix epoch)
date_localedate +"%c"Display the current date using the default locale's format