diff --git a/Data/MBox.hs b/Data/MBox.hs
--- a/Data/MBox.hs
+++ b/Data/MBox.hs
@@ -20,10 +20,10 @@
 import Prelude hiding (tail, init, last, minimum, maximum, foldr1, foldl1, (!!), read)
 import Control.Arrow
 import Data.Char
-import System.Locale
 import Data.Time
 import Safe
 import qualified Data.Text.Lazy as T
+import qualified Data.Time.Locale.Compat as LC
 
 type MBox = [Message]
 data Message = Message {fromLine :: T.Text, headers :: [Header], body :: T.Text} deriving (Read, Show)
@@ -31,7 +31,7 @@
 
 -- | Reads a date header as a UTCTime
 parseDateHeader :: T.Text -> Maybe UTCTime
-parseDateHeader = parseTime defaultTimeLocale  "%A, %B %e, %Y %l:%M %p" . T.unpack
+parseDateHeader = parseTime LC.defaultTimeLocale  "%A, %B %e, %Y %l:%M %p" . T.unpack
 
 -- | Attempts to retrieve the contents of a forwarded message from an enclosing message.
 parseForward :: Message -> Message
diff --git a/Data/MBox/String.hs b/Data/MBox/String.hs
--- a/Data/MBox/String.hs
+++ b/Data/MBox/String.hs
@@ -19,9 +19,9 @@
 import Control.Arrow
 import Data.List (isPrefixOf)
 import Data.Char
-import System.Locale
 import Data.Time
 import Safe
+import qualified Data.Time.Locale.Compat as LC
 
 type MBox = [Message]
 data Message = Message {fromLine :: String, headers :: [Header], body :: String} deriving (Read, Show)
@@ -29,7 +29,7 @@
 
 -- | Reads a date header as a UTCTime
 parseDateHeader :: String -> Maybe UTCTime
-parseDateHeader = parseTime defaultTimeLocale  "%A, %B %e, %Y %l:%M %p"
+parseDateHeader = parseTime LC.defaultTimeLocale  "%A, %B %e, %Y %l:%M %p"
 
 -- | Attempts to retrieve the contents of a forwarded message from an enclosing message.
 parseForward :: Message -> Message
diff --git a/mbox.cabal b/mbox.cabal
--- a/mbox.cabal
+++ b/mbox.cabal
@@ -1,5 +1,5 @@
 name:                mbox
-version:             0.3
+version:             0.3.1
 synopsis:            Read and write standard mailbox files.
 description:         Read and write standard mailbox (mboxrd) files.
 category:            system, text, data
@@ -13,7 +13,7 @@
 Cabal-Version:       >= 1.6
 
 library
-  build-depends:     base >= 4, base < 6, safe, time < 1.5, old-locale, text
+  build-depends:     base >= 4, base < 6, safe, time < 1.6, time-locale-compat, text
   exposed-modules:   Data.MBox, Data.MBox.String
   ghc-options:       -Wall
 
