Popularity
1.9
Declining
Activity
0.0
Stable
1
3
0

Monthly Downloads: 25
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Text    

period alternatives and similar packages

Based on the "Text" category.
Alternatively, view period alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of period or a related project?

Add another 'Text' Package

README

Period

https://hackage.haskell.org/package/period

Library and executable to parse and format date periods, collapse and expand, e.g. 2018 → 2018-01-01,2018-12-31 and backwards.

Usage: period COMMAND
  Expand or collapse text representation of date range.

  period collapse 2018-01-01,2018-12-31
  => 2018

  period collapse 2018-01-01,2118-12-31
  => 2018,2118

  period expand 2018-01
  => 2018-01-01,2018-01-31

  period expand 2018-01-07,14
  => 2018-01-07,2018-01-14

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

Available commands:
  collapse                 Find shortest representation for time period
  expand                   Display start and end points of time period