Skip to content
/ reiwa Public

Alternative date command to display Regnal year(only for Reiwa era).

License

Notifications You must be signed in to change notification settings

mxvish/reiwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

reiwa

Alternative date command to display Regnal year(only for Reiwa era).

Contents

Usage without installation

curl -s https://raw.githubusercontent.com/mxvish/reiwa/main/reiwa.sh | sh

Installation

  • Using wget
wget https://raw.githubusercontent.com/mxvish/reiwa/main/reiwa.sh
  • Using git
git clone https://github.com/mxvish/reiwa.git
mv reiwa/reiwa.sh .

Usage

sh reiwa.sh

Difference between this and date command

Here is an example.

  • zsh

    $ date

    Output: Wed Dec 28 17:34:03 JST 2022

  • bash

    $ date

    Output: Wed Dec 28 5:34:03 PM JST 2022

  • reiwa

    $ sh reiwa.sh

    Output: Wed Dec 28 17:34:01 JST 令和4年

Releases

No releases published

Packages

No packages published

Languages