packages feed

period 0.1.0.3 → 0.1.0.4

raw patch · 3 files changed

+4/−4 lines, 3 filesdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base

API changes (from Hackage documentation)

- Text.Period: perDateSep :: PeriodFmt -> Text
- Text.Period: perFieldSep :: PeriodFmt -> Text
+ Text.Period: [perDateSep] :: PeriodFmt -> Text
+ Text.Period: [perFieldSep] :: PeriodFmt -> Text

Files

exec/period.hs view
@@ -27,7 +27,7 @@     help "Field separator, by default '-' as in 'yyyy-mm-dd'") <*>   option (T.pack <$> str) (     short 'd' <> long "date-sep" <> value "," <>-    help "Field separator, by default ',' as in 'yyyy-mm-dd,yyyy-mm-dd'")+    help "Start and end separator, by default ',' as in 'yyyy-mm-dd,yyyy-mm-dd'")   mkCommand :: String -> String -> Parser Command -> Mod CommandFields Command
period.cabal view
@@ -1,5 +1,5 @@ name:                period-version:             0.1.0.3+version:             0.1.0.4 synopsis:            Parse and format date periods, collapse and expand their text representations. -- description:          homepage:            https://github.com/w3rs/period@@ -16,7 +16,7 @@ library   exposed-modules:     Text.Period   build-depends:-                base >=4.6 && < 4.9,+                base >=4.6 && < 5.0,                 time >= 1.4.2,                 old-locale >= 1.0.0.6,                 text >= 1.2,
src/Text/Period.hs view
@@ -50,7 +50,7 @@   | StateDay Integer Int Int   | StateNone -number :: (Read a, Integral a) => Int -> Parser a+number :: (Read a) => Int -> Parser a number n = read <$> count n digit  skipFieldSep :: Stream s m Char => Bool -> T.Text -> ParsecT s u m ()