#finance #week #iso-8601 #iso-week

app isow

Prints the local or utc week in the ISO 8601 format, e.g. 2006-W52-7T10:26:20.485371700.

5 releases

✓ Uses Rust 2018 edition

new 0.2.14 Mar 22, 2020
0.2.13 Mar 22, 2020
0.2.12 Feb 4, 2020
0.2.7 Jan 31, 2020

#22 in Date and time

Download history 58/week @ 2020-01-29 26/week @ 2020-02-05 6/week @ 2020-02-12 41/week @ 2020-02-19 36/week @ 2020-02-26 10/week @ 2020-03-04 5/week @ 2020-03-11

68 downloads per month

MPL-2.0 license

25KB
178 lines

ISOW (ISO Week)

Rust Build Status Build status codecov

A CLI program that prints the local or utc week and time in the ISO 8601 format, e.g. 2006-W52-7T10:26:20.485371700.

Tom Scott's Why It's Already 2020 inspired me to write this. 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

  • Rust 1.41+
  • Recommended IDEs
    • Visual Studio Code
    • Jetbrains IntelliJ

Supported Platforms

  • Ubuntu 18.04 or later
  • Windows 10 v1809 or later
  • macOS 10.13 High Sierra or later

Authors

  • Anthony Foxclaw - Initial work - tonytins

See also the list of contributors who participated in this project.

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

Process finished with exit code 0

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 Differneces

  • Crates.io installations will return --dirty suffix at the end of their version. This is harmless bug and does not impact the stability ISOW.

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

License

This project is licensed under the MPL 2.0 license - see the LICENSE file for details.

Dependencies

~2.6–6.5MB
~135K SLoC