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]

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]

Properties

Versions1.0.0, 1.0.0
Change logCHANGELOG.md
Dependenciesbase (>=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]
LicenseBSD-3-Clause
Copyright2019 Rolf Meissner
AuthorRolf Meissner
Maintainerrolf@msnr.com
CategoryCommandline
Bug trackerhttps://gitlab.com/rmeis/calenderweek/issues
Source repositorythis: git clone https://gitlab.com/rmeis/calenderweek(tag 1.0.0)
Executableskw
UploadedMon Nov 25 21:00:24 UTC 2019 by rmeis

Downloads

Maintainers' corner

For package maintainers and hackage trustees


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