packages feed

formatting 3.1.2 → 3.1.3

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

formatting.cabal view
@@ -1,5 +1,5 @@ name:                formatting-version:             3.1.2+version:             3.1.3 synopsis:            Combinator-based type-safe formatting (like printf() or FORMAT) description:         Combinator-based type-safe formatting (like printf() or FORMAT), modelled from the HoleyMonoids package. license:             BSD3
src/Formatting/Time.hs view
@@ -219,7 +219,7 @@   later (fromLazyText . diffed)   where     diffed (t1,t2) =-      case find (\(s,_,_) -> abs ts >= s) ranges of+      case find (\(s,_,_) -> abs ts >= s) (reverse ranges) of         Nothing -> "unknown"         Just (_,f,base) -> format (prefix % f % suffix) (toInt ts base)       where ts = diffUTCTime t1 t2