diff --git a/ses-html.cabal b/ses-html.cabal
--- a/ses-html.cabal
+++ b/ses-html.cabal
@@ -1,5 +1,5 @@
 name:                ses-html
-version:             0.2.0.2
+version:             0.2.1.2
 synopsis:            Send HTML formatted emails using Amazon's SES REST API with blaze
 license:             BSD3
 license-file:        LICENSE
@@ -16,15 +16,14 @@
   hs-source-dirs:      src
   default-language:    Haskell2010
   ghc-options:         -Wall -fno-warn-unused-binds
-  build-depends:       base >=4.2 && <4.8  
+  build-depends:       HsOpenSSL
+                     , base >=4.2 && <5
                      , base64-bytestring
                      , blaze-html
-                     , bytestring
                      , byteable
+                     , bytestring
                      , cryptohash
                      , http-streams
-                     , HsOpenSSL
-                     , old-locale
                      , tagsoup
                      , time
 
diff --git a/src/Network/SES.hs b/src/Network/SES.hs
--- a/src/Network/SES.hs
+++ b/src/Network/SES.hs
@@ -28,7 +28,7 @@
 import           Data.Monoid                   ( (<>) )
 import           Data.Maybe                    ( fromMaybe )
 import           Data.Time.Clock               ( getCurrentTime )
-import           Data.Time.Format              ( formatTime )
+import           Data.Time.Format              ( formatTime, defaultTimeLocale )
 import           Network.Http.Client           ( buildRequest, http, Method(POST), setContentType
                                                , setHeader,baselineContextSSL, openConnectionSSL
                                                , Connection, sendRequest, encodedFormBody
@@ -37,7 +37,6 @@
                                                )
 import           OpenSSL                       ( withOpenSSL )
 import           Prelude                hiding ( concat )
-import           System.Locale                 ( defaultTimeLocale )
 import           Text.Blaze.Html.Renderer.Utf8 ( renderHtml )
 import           Text.Blaze.Html5              ( Html )
 import           Text.Read                     ( readMaybe )
