@@ -343,10 +343,6 @@ flag network-uri
343343 Description: Get Network.URI from the network-uri package
344344 Default: True
345345
346−flag old-locale
347− Description: Use old-locale and time < 1.5
348− Default: False
349−
350346custom-setup
351347 setup-depends: base, Cabal
352348
@@ -363,6 +359,7 @@ library
363359 directory >= 1 && < 1.4,
364360 bytestring >= 0.9 && < 0.11,
365361 text >= 0.11 && < 1.3,
362+ time >= 1.5 && < 1.10,
366363 safe >= 0.3 && < 0.4,
367364 zip-archive >= 0.2.3.4 && < 0.4,
368365 HTTP >= 4000.0.5 && < 4000.4,
@@ -408,11 +405,6 @@ library
408405 cpp-options: -D_WINDOWS
409406 else
410407 build-depends: unix >= 2.4 && < 2.8
411− if flag(old-locale)
412− build-depends: old-locale >= 1 && < 1.1,
413− time >= 1.2 && < 1.5
414− else
415− build-depends: time >= 1.5 && < 1.10
416408 if flag(network-uri)
417409 build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
418410 else
@@ -556,7 +548,6 @@ library
556548 Text.Pandoc.UUID,
557549 Text.Pandoc.Translations,
558550 Text.Pandoc.Slides,
559− Text.Pandoc.Compat.Time,
560551 Paths_pandoc
561552
562553 buildable: True
@@ -652,11 +643,6 @@ test-suite test-pandoc
652643 hs-source-dirs: prelude
653644 other-modules: Prelude
654645 build-depends: base-compat >= 0.9
655− if flag(old-locale)
656− build-depends: old-locale >= 1 && < 1.1,
657− time >= 1.2 && < 1.5
658− else
659− build-depends: time >= 1.5 && < 1.10
660646 other-modules: Tests.Old
661647 Tests.Command
662648 Tests.Helpers