summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins')
-rw-r--r--src/Plugins/DateZone.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Plugins/DateZone.hs b/src/Plugins/DateZone.hs
index f1737fb..401e77c 100644
--- a/src/Plugins/DateZone.hs
+++ b/src/Plugins/DateZone.hs
@@ -31,12 +31,14 @@ import Control.Concurrent.STM
import System.IO.Unsafe
import Localize
-import Data.Time.LocalTime
import Data.Time.Format
+import Data.Time.LocalTime
import Data.Time.LocalTime.TimeZone.Olson
import Data.Time.LocalTime.TimeZone.Series
+#if ! MIN_VERSION_time(1,5,0)
import System.Locale (TimeLocale)
+#endif
#else
import System.IO
import Plugins.Date