diff --git a/pdfinfo.cabal b/pdfinfo.cabal
--- a/pdfinfo.cabal
+++ b/pdfinfo.cabal
@@ -1,5 +1,5 @@
 name:                pdfinfo
-version:             1.5.2
+version:             1.5.3
 synopsis:            Wrapper around the pdfinfo command.
 description:         Just a wrapper around the pdfinfo command (for collecting PDF file info). See man pdfinfo.
 license:             BSD3
@@ -21,9 +21,9 @@
   exposed-modules:   Text.PDF.Info
   hs-source-dirs:    src/
   build-depends:     base >= 4 && < 5,
-                     old-locale >= 1.0.0.0 && < 1.1,
+                     old-locale,
                      time >= 1.1,
                      process-extras,
                      text,
                      -- mtl-2.1 contains a severe bug
-                     mtl >= 1.1 && < 2.1 || >= 2.1.1 && < 2.2
+                     mtl >= 1.1 && < 2.1 || >= 2.1.1
diff --git a/src/Text/PDF/Info.hs b/src/Text/PDF/Info.hs
--- a/src/Text/PDF/Info.hs
+++ b/src/Text/PDF/Info.hs
@@ -29,10 +29,9 @@
 import           Data.Char (isSpace)
 import           Data.Text (Text)
 import qualified Data.Text as T
-import           Data.Time
+import           Data.Time as Time
 import           Prelude
 import           System.Exit
-import           System.Locale
 import           System.Process.Text
 
 -- | A type representing the output from the pdfinfo command.
