Skip to content

0.3.3

Compare
Choose a tag to compare
@kalaspuff kalaspuff released this 17 Oct 14:26
· 188 commits to master since this release
3b7d284
  • utcnow can now be used as cli by installing utcnow-cli or using the cli extras of utcnow.

    # install utcnow with extras: cli
    pip install utcnow[cli]
    # equivalent to installing utcnow-cli
    pip install utcnow-cli
    code ~$ utcnow
    2022-10-17T14:25:04.481821Z
    
    usage:
      utcnow [values ...]              | default     output in rfc3339 format
      utcnow --unixtime [values ...]   | short: -u   output as unixtime
      utcnow --diff <from> <to>        | short: -d   diff in seconds: from -> to
    
    help:
      utcnow --help                    | short: -h   display this message
      utcnow --version                 | short: -v   installed version (0.3.3)