summaryrefslogtreecommitdiffhomepage
path: root/src/Localize.hsc
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-04-14 17:28:56 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2015-04-14 18:10:15 +0200
commitff0abce451e73c5911602ac4cfb672f64635fa08 (patch)
tree9c698b9f2ea09dbf79c02e2851aa93f56ec6ad49 /src/Localize.hsc
parent7b891200c17a501ed1641a1300164785f5898a22 (diff)
downloadxmobar-ff0abce451e73c5911602ac4cfb672f64635fa08.tar.gz
xmobar-ff0abce451e73c5911602ac4cfb672f64635fa08.tar.bz2
De-ambiguify TimeLocale when DateZone is enabled
Diffstat (limited to 'src/Localize.hsc')
-rw-r--r--src/Localize.hsc4
1 files changed, 4 insertions, 0 deletions
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