dates 0.2.1.1 → 0.2.1.2
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/Dates.hs +1/−1
- dates.cabal +1/−1
Data/Dates.hs view
@@ -286,7 +286,7 @@ pDateIntervalType ∷ Parsec String st DateIntervalType pDateIntervalType = do s ← choice $ map maybePlural ["day", "week", "month", "year"]- case head s of+ case toLower (head s) of 'd' → return Day 'w' → return Week 'm' → return Month
dates.cabal view
@@ -1,5 +1,5 @@ name: dates-version: 0.2.1.1+version: 0.2.1.2 synopsis: Small library for parsing different dates formats. description: This package allows to parse many different formats of dates. Both absolute and relative dates are supported.