diff --git a/Codec/Encryption/OpenPGP/Types.hs b/Codec/Encryption/OpenPGP/Types.hs
--- a/Codec/Encryption/OpenPGP/Types.hs
+++ b/Codec/Encryption/OpenPGP/Types.hs
@@ -51,7 +51,7 @@
 import Data.Word (Word8, Word16, Word32)
 import Network.URI (URI(..), uriToString, nullURI, parseURI)
 import Numeric (readHex, showHex)
-import System.Locale (defaultTimeLocale)
+import Data.Time.Locale.Compat (defaultTimeLocale)
 import Text.PrettyPrint.Free (Pretty(..), (<+>), char, hsep, punctuate, space, text, tupled)
 
 type Exportability = Bool
diff --git a/hOpenPGP.cabal b/hOpenPGP.cabal
--- a/hOpenPGP.cabal
+++ b/hOpenPGP.cabal
@@ -1,5 +1,5 @@
 Name:                hOpenPGP
-Version:             2.2
+Version:             2.2.1
 Synopsis:            native Haskell implementation of OpenPGP (RFC4880)
 Description:         native Haskell implementation of OpenPGP (RFC4880)
 Homepage:            http://floss.scru.org/hOpenPGP/
@@ -198,7 +198,6 @@
                , monad-loops
                , nettle
                , newtype
-               , old-locale
                , openpgp-asciiarmor                 >= 0.1
                , resourcet              > 0.4
                , securemem
@@ -206,6 +205,7 @@
                , split
                , text
                , time                               >= 1.1
+               , time-locale-compat
                , transformers
                , unordered-containers
                , wl-pprint-extras
@@ -249,12 +249,12 @@
                , monad-loops
                , nettle
                , newtype
-               , old-locale
                , securemem
                , semigroups
                , split
                , text
                , time                               >= 1.1
+               , time-locale-compat
                , transformers
                , unordered-containers
                , wl-pprint-extras
@@ -302,7 +302,6 @@
                , monad-loops
                , nettle
                , newtype
-               , old-locale
                , openpgp-asciiarmor                 >= 0.1
                , resourcet              > 0.4
                , securemem
@@ -310,6 +309,7 @@
                , split
                , text
                , time                               >= 1.1
+               , time-locale-compat
                , transformers
                , unordered-containers
                , wl-pprint-extras
@@ -328,4 +328,4 @@
 source-repository this
   type:     git
   location: git://git.debian.org/users/clint/hOpenPGP.git
-  tag:      v2.2
+  tag:      v2.2.1
