@@ -1,4 +1,16 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE CPP #-}
4+This compatibility module is needed because, in time 1.5, the
5+`defaultTimeLocale` function was moved from System.Locale (in the
6+old-locale library) into Data.Time.
8+We support both behaviors because time 1.4 is a boot library for GHC
9+7.8. time 1.5 is a boot library for GHC 7.10.
11+When support is dropped for GHC 7.8, this module may be obsoleted.
2#if MIN_VERSION_time(1,5,0)
14#if MIN_VERSION_time(1,5,0)
3module Text.Pandoc.Compat.Time (
15module Text.Pandoc.Compat.Time (
4 module Data.Time
16 module Data.Time