GithubHelp home page GithubHelp logo

tonytins / isow Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 217 KB

A CLI program that prints the local or utc date in the ISO 8601 format, e.g. 2020-W05-01T22:08:46.909268800

License: Mozilla Public License 2.0

Rust 100.00%
cli unix-philosophy datetime iso8601 finance utc iso-week government week rust

isow's Introduction

ISOW (ISO Week)

GitHub license GitHub Workflow Status (branch) GitHub commit activity Contributor Covenant

Inspired by Tom Scott's Why It's Already 2020, isow CLI program that prints the local or utc week and time in the ISO 8601 format, e.g. 2006-W52-7T10:26:20.485371700.

This is not designed to print the full ISO 8601 date and time, only the week date. For more technical information on ISO week, visit Wikipedia.

Requirements

Prerequisites

Supported Platforms

  • Linux 2.6.32 or later
  • Windows 7 or later
  • macOS 10.7 Lion or later

For more information, see Rust's Platform Support page.

Installation and Usage

You can download binaries for any of the above support platforms by going to the releases page or by installing via. Cargo by typing in cargo install isow.

USAGE:
    isow [FLAGS] [SUBCOMMAND]

FLAGS:
    -d, --day        Prints the day
    -h, --help       Prints help information
    -t, --time       Prints the time
    -u, --utc        Swaps your local time zone for UTC.
    -V, --version    Prints version information
    -w, --week       Prints the week
    -y, --year       Prints the year

SUBCOMMANDS:
    help      Prints this message or the help of the given subcommand(s)
    update    Updates the program to the latest version

By default, ISOW uses your local time zone. Adding -u will switch to UTC.

Updates

You can update ISOW at anytime by typing isow update. This will give you information on the latest release, if any, and any compatibility warnings with an option to accept or deny the download.

Crates.io Differences

  • Self-updater is unsupported in the Crates.io releases. As of 0.2.14, this will return a "feature is unsupported" message.

License

I license this project under the MPL 2.0 license - see the LICENSE file for details.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

isow's People

Contributors

dependabot[bot] avatar tonytins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

din-dke

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.