diff --git a/hokey.hs b/hokey.hs
--- a/hokey.hs
+++ b/hokey.hs
@@ -62,7 +62,7 @@
 import Options.Applicative.Types (Parser)
 
 import System.IO (Handle, hFlush, stderr, stdin, stdout, hSetBuffering, BufferMode(..))
-import System.Locale (defaultTimeLocale)
+import Data.Time.Locale.Compat (defaultTimeLocale)
 
 import Text.PrettyPrint.ANSI.Leijen (colon, green, hardline, hPutDoc, indent, linebreak, list, putDoc, red, text, yellow, (<+>), Doc)
 import Text.PrettyPrint.Free (pretty)
diff --git a/hopenpgp-tools.cabal b/hopenpgp-tools.cabal
--- a/hopenpgp-tools.cabal
+++ b/hopenpgp-tools.cabal
@@ -1,5 +1,5 @@
 name:                hopenpgp-tools
-version:             0.16.2
+version:             0.16.3
 synopsis:            hOpenPGP-based command-line tools
 description:         command-line tools for performing some OpenPGP-related operations
 homepage:            http://floss.scru.org/hopenpgp-tools
@@ -64,11 +64,11 @@
                ,       ixset-typed
                ,       lens
                ,       monad-loops
-               ,       old-locale
                ,       optparse-applicative   >= 0.11.0
                ,       resourcet
                ,       text
                ,       time
+               ,       time-locale-compat
                ,       transformers
                ,       wl-pprint-extras
                ,       yaml
@@ -119,4 +119,4 @@
 source-repository this
   type:     git
   location: git://git.debian.org/users/clint/hopenpgp-tools.git
-  tag:      hopenpgp-tools/0.16.2
+  tag:      hopenpgp-tools/0.16.3
