diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-10-14 10:05:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-10-14 10:06:18 -0700 |
commit | 6dc3b6585d028dea4df3684ed975ccd2f7046e62 (patch) | |
tree | 3d50550898a0c6bc753e0754df42a90858d84424 /src/Text/Pandoc/Compat/Locale.hs | |
parent | 1aff1b84ebb4ab863d9dda3ff740f7f94bbd362a (diff) | |
download | pandoc-6dc3b6585d028dea4df3684ed975ccd2f7046e62.tar.gz |
More changes to avoid compiler warnings on ghc 7.10.
* CPP around deprecated `parseTime`.
* Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time,
now exports Data.Time.
Diffstat (limited to 'src/Text/Pandoc/Compat/Locale.hs')
-rw-r--r-- | src/Text/Pandoc/Compat/Locale.hs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Text/Pandoc/Compat/Locale.hs b/src/Text/Pandoc/Compat/Locale.hs deleted file mode 100644 index ac791136c..000000000 --- a/src/Text/Pandoc/Compat/Locale.hs +++ /dev/null @@ -1,9 +0,0 @@ -{-# LANGUAGE CPP #-} -module Text.Pandoc.Compat.Locale ( defaultTimeLocale ) -where - -#if MIN_VERSION_time(1,5,0) -import Data.Time.Format ( defaultTimeLocale ) -#else -import System.Locale ( defaultTimeLocale ) -#endif |