formatting 6.1.0 → 6.1.1
raw patch · 3 files changed
+14/−1 lines, 3 filesdep ~timePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: time
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−0
- formatting.cabal +1/−1
- src/Formatting/Time.hs +5/−0
CHANGELOG.md view
@@ -1,3 +1,11 @@+6.1.1++* Add support for GHC 7.10 (time update).++6.1.0++* Add formatter for TimeSpec.+ 6.0.0 * Changed the type of `Format`. Now you write `Format r (a -> r)` instead
formatting.cabal view
@@ -1,5 +1,5 @@ name: formatting-version: 6.1.0+version: 6.1.1 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
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE OverloadedStrings #-} @@ -15,7 +16,11 @@ import qualified Data.Text as T import Data.Text.Buildable import Data.Time+#if __GLASGOW_HASKELL__ >= 710+import System.Locale hiding (defaultTimeLocale)+#else import System.Locale+#endif -- * For 'TimeZone' (and 'ZonedTime' and 'UTCTime'):