From ff0abce451e73c5911602ac4cfb672f64635fa08 Mon Sep 17 00:00:00 2001 From: Edward Tjörnhammar Date: Tue, 14 Apr 2015 17:28:56 +0200 Subject: De-ambiguify TimeLocale when DateZone is enabled --- src/Localize.hsc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Localize.hsc') diff --git a/src/Localize.hsc b/src/Localize.hsc index 28f4495..b3f7d53 100644 --- a/src/Localize.hsc +++ b/src/Localize.hsc @@ -19,7 +19,11 @@ module Localize ) where import Foreign.C +#if ! MIN_VERSION_time(1,5,0) import qualified System.Locale as L +#else +import qualified Data.Time.Format as L +#endif #ifdef UTF8 import Codec.Binary.UTF8.String -- cgit v1.2.3