diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.3.1.2
+
+* Use time >= 1.4 and time-locale-compat
+
 ## 0.3.1.1
 
 * Bump time to >= 1.5
diff --git a/opaleye.cabal b/opaleye.cabal
--- a/opaleye.cabal
+++ b/opaleye.cabal
@@ -1,5 +1,5 @@
 name:            opaleye
-version:         0.3.1.1
+version:         0.3.1.2
 synopsis:        An SQL-generating DSL targeting PostgreSQL
 description:     An SQL-generating DSL targeting PostgreSQL.  Allows
                  Postgres queries to be written within Haskell in a
@@ -37,7 +37,8 @@
     , semigroups          >= 0.13    && < 0.17
     , text                >= 0.11    && < 1.3
     , transformers        >= 0.3     && < 0.5
-    , time                >= 1.5     && < 1.6
+    , time                >= 1.4     && < 1.6
+    , time-locale-compat  >= 0.1     && < 0.2
     , uuid                >= 1.3     && < 1.4
   exposed-modules: Opaleye,
                    Opaleye.Aggregate,
diff --git a/src/Opaleye/PGTypes.hs b/src/Opaleye/PGTypes.hs
--- a/src/Opaleye/PGTypes.hs
+++ b/src/Opaleye/PGTypes.hs
@@ -13,6 +13,7 @@
 import qualified Data.ByteString as SByteString
 import qualified Data.ByteString.Lazy as LByteString
 import qualified Data.Time as Time
+import qualified Data.Time.Locale.Compat as Locale
 import qualified Data.UUID as UUID
 
 import           Data.Int (Int64)
@@ -86,7 +87,7 @@
                                      . HPQ.ConstExpr
                                      . HPQ.OtherLit
                                      . format
-  where format = Time.formatTime Time.defaultTimeLocale formatString
+  where format = Time.formatTime Locale.defaultTimeLocale formatString
 
 pgDay :: Time.Day -> Column PGDate
 pgDay = unsafePgFormatTime "date" "'%F'"
