git.iko.soy/typeable/pandoc
on master help sign in
Add EOL note to time compat module.

Because time 1.4 is a boot library for GHC 7.8, we will support the compatibility module as long as we support 7.8. But we should be clear about when we will no longer need it.

commitdf1ca2b1a55a6dca762651028cd12a60cd426579 authorJesse Rosenthal <jrosenthal@jhu.edu> dateSat 3 Sep 2016, 08:10 (10 years ago) parent3f8d3d8
1 file changed+12
src/Text/Pandoc/Compat/Time.hs+12
src/Text/Pandoc/Compat/Time.hs+12
@@ -1,4 +1,16 @@
11{-# LANGUAGE CPP #-}
2+
3+{-
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.
7+
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.
10+
11+When support is dropped for GHC 7.8, this module may be obsoleted.
12+-}
13+
214#if MIN_VERSION_time(1,5,0)
315module Text.Pandoc.Compat.Time (
416 module Data.Time