calenderweek: Commandline tool to get week of the year

[ bsd3, commandline, program ] [ Propose Tags ] [ Report a vulnerability ]

Prints week of year for given date. Installs kw binary that returns week of today or of provided date (YYYY-MM-DD)


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5.0), megaparsec (>=8.0.0 && <8.1), optparse-generic (>=1.3.0 && <1.4), text (>=1.2.3 && <1.3), time (>=1.8.0 && <1.9.4) [details]
License BSD-3-Clause
Copyright 2019 Rolf Meissner
Author Rolf Meissner
Maintainer rolf@msnr.com
Category Commandline
Bug tracker https://gitlab.com/rmeis/calenderweek/issues
Source repo this: git clone https://gitlab.com/rmeis/calenderweek(tag 1.0.0)
Uploaded by rmeis at 2019-11-25T21:02:58Z
Distributions
Executables kw
Downloads 453 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2019-11-26 [all 2 reports]

Readme for calenderweek-1.0.0

[back to package description]

calenderweek

Simple commandline tool to print week of year. If nothing is provided, the current week is printed. To query the week of year for a specific date, provide the date in ISO 8601 (YYYY-MM-DD).

Why

Week of year is often used for communicating a time span. "We are planning to finish the feature in week 50" is a short and precise way to say that we finish between the 9th and the 15th december of 2019. Many Calender programs, like Outlook, are not providing this number.

Example

kw 2019-11-25
>48

kw                           #week of today
>48

kw -h

>kw [YYYY-MM-DD] Returns week of year of today or of given date

>Usage: kw [TEXT]

>Available options:
-h,--help                Show this help text