diff --git a/src/Data/Time/CalendarTime/CalendarTime.hs b/src/Data/Time/CalendarTime/CalendarTime.hs index 19812b6..4bfb9e9 100644 --- a/src/Data/Time/CalendarTime/CalendarTime.hs +++ b/src/Data/Time/CalendarTime/CalendarTime.hs @@ -14,7 +14,7 @@ module Data.Time.CalendarTime.CalendarTime ) where -import Data.Time +import Data.Time hiding (calendarYear, calendarMonth, calendarDay, DayOfWeek ( Monday ), DayOfWeek( Sunday )) import Data.Time.Calendar.OrdinalDate import Data.Time.Calendar.Month import Data.Time.Calendar.WeekDay diff --git a/tests/Tests.lhs b/tests/Tests.lhs index af68ec2..d185816 100644 --- a/tests/Tests.lhs +++ b/tests/Tests.lhs @@ -16,7 +16,7 @@ a local time instance has not been created yet, all the dates are converted into UTC. #if MIN_VERSION_time(1,5,0) -> import Data.Time +> import Data.Time hiding (DayOfWeek( Monday ), DayOfWeek( Sunday )) #else > import Data.Time > import System.Locale (TimeLocale, defaultTimeLocale, rfc822DateFormat) diff --git a/time-recurrence.cabal b/time-recurrence.cabal index 69e94a6..734ccb6 100644 --- a/time-recurrence.cabal +++ b/time-recurrence.cabal @@ -7,7 +7,7 @@ Name: time-recurrence -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented. -Version: 0.9.3 +Version: 0.9.4 -- A short (one-line) description of the package. Synopsis: Generate recurring dates. @@ -84,7 +84,7 @@ Library -- Packages needed in order to build this package. Build-depends: base >= 4 && < 5, - time >= 1.4 && < 1.6, + time >= 1.4 && < 1.9.4, data-ordlist >= 0.4.5, mtl >= 2.0 && < 2.3 @@ -101,12 +101,12 @@ Test-Suite test-time-recurrence main-is: Tests.lhs ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-orphans build-depends: base >= 4 && < 5, - time >= 1.4 && < 1.6, + time >= 1.4 && < 1.9.4, data-ordlist >= 0.4.5, mtl >= 2.0 && < 2.3, test-framework >= 0.8, test-framework-hunit >= 0.3.0, - HUnit >= 1.2 && < 1.4, + HUnit >= 1.2 && < 1.7, old-locale >= 1.0 && < 1.1 other-modules: Data.Time.Recurrence