rethinkdb-client-driver 0.0.15 → 0.0.16
raw patch · 2 files changed
+11/−2 lines, 2 filesdep +old-localedep ~timePVP ok
version bump matches the API change (PVP)
Dependencies added: old-locale
Dependency ranges changed: time
API changes (from Hackage documentation)
Files
rethinkdb-client-driver.cabal view
@@ -1,5 +1,5 @@ name: rethinkdb-client-driver-version: 0.0.15+version: 0.0.16 license: MIT license-file: LICENSE author: Tomas Carnecky@@ -40,10 +40,11 @@ , hashable , mtl , network+ , old-locale , scientific , template-haskell , text- , time >= 1.5.0.1+ , time >= 1.4 , unordered-containers , vector
src/Database/RethinkDB/Types/Datum.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-}@@ -28,6 +29,9 @@ import GHC.Generics +#if !MIN_VERSION_time(1,5,0)+import System.Locale (defaultTimeLocale)+#endif ------------------------------------------------------------------------------@@ -126,6 +130,10 @@ t <- o A..: "epoch_time" :: Parser Double pure $ utcToZonedTime tz $ posixSecondsToUTCTime $ realToFrac t+#if !MIN_VERSION_time(1,5,0)+ where+ parseTimeM _ = parseTime+#endif