calenderweek: Commandline tool to get week of the year

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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]


Versions 1.0.0, 1.0.0
Change log
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
Category Commandline
Bug tracker
Source repo this: git clone 1.0.0)
Uploaded by rmeis at 2019-11-25T21:00:24Z


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Readme for calenderweek-1.0.0

[back to package description]


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).


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.


kw 2019-11-25

kw                           #week of today

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