aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Compat/Time.hs
blob: aa08ca22458bc2923690fc6793297a3bf0cf5ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{-# LANGUAGE CPP #-}
#if MIN_VERSION_time(1,5,0)
module Text.Pandoc.Compat.Time (
  module Data.Time
)
where
import Data.Time

#else
module Text.Pandoc.Compat.Time (
  module Data.Time,
  defaultTimeLocale
)
where
import Data.Time
import System.Locale ( defaultTimeLocale )

#endif