chronos 1.1.5 → 1.1.5.1
raw patch · 2 files changed
+6/−6 lines, 2 filesdep ~aesondep ~basedep ~natural-arithmeticPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, base, natural-arithmetic, primitive
API changes (from Hackage documentation)
Files
- chronos.cabal +5/−5
- src/Chronos.hs +1/−1
chronos.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: chronos-version: 1.1.5+version: 1.1.5.1 synopsis: A high-performance time library description: Chronos is a performance-oriented time library for Haskell, with a@@ -48,20 +48,20 @@ build-depends: , aeson >= 1.1 && < 2.2 , attoparsec >= 0.13 && < 0.15- , base >= 4.14 && < 4.18+ , base >= 4.14 && < 4.19 , bytestring >= 0.10 && < 0.12 , deepseq >= 1.4.4.0 , hashable >= 1.2 && < 1.5- , primitive >= 0.6.4 && < 0.8+ , primitive >= 0.6.4 && < 0.10 , semigroups >= 0.16 && < 0.21 , text >= 1.2 && < 1.3 || >= 2.0 && < 2.1 , torsor >= 0.1 && < 0.2- , vector >= 0.11 && < 0.13+ , vector >= 0.11 && < 0.14 , bytebuild >= 0.3.8 && < 0.4 , bytesmith >= 0.3.7 && < 0.4 , byteslice >= 0.2.5.2 && <0.3 , text-short >= 0.1.3 && <0.2- , natural-arithmetic >= 0.1.2 && <0.2+ , natural-arithmetic >= 0.1.2 && <0.3 if os(windows) build-depends: Win32 >= 2.2 && < 2.14 default-language: Haskell2010
src/Chronos.hs view
@@ -2878,7 +2878,7 @@ _getYear :: Functor f => (Int -> f Int) -> Year -> f Year _getYear f = fmap Year . f . getYear --- | A <https://en.wikipedia.org/wiki/UTC_offset UTC offset>.+-- | A <https://en.wikipedia.org/wiki/UTC_offset UTC offset> in minutes. newtype Offset = Offset { getOffset :: Int } deriving (Show,Read,Eq,Ord,Enum,NFData)