tz 0.1.2.1 → 0.1.3.0
raw patch · 2 files changed
+18/−18 lines, 2 filesdep ~HUnitdep ~criteriondep ~template-haskell
Dependency ranges changed: HUnit, criterion, template-haskell, time
Files
- tests/testTZ.hs +4/−4
- tz.cabal +14/−14
tests/testTZ.hs view
@@ -51,11 +51,11 @@ -- Local->UTC, test for time zones that stop having DST. -- Bug reported in #8-case_Brisbane_LocalToUTC = do- tz <- loadTZFromDB "Asia/Singapore"- let zSingapore = TimeZone 480 False "SGT"+case_Moscow_LocalToUTC = do+ tz <- loadTZFromDB "Europe/Moscow"+ let zMoscow = TimeZone 180 False "MSK" localTimeToUTCFull tz (mkLocal 2015 11 23 00 00 00) @?=- LTUUnique (mkUTC 2015 11 22 16 00 00) zSingapore+ LTUUnique (mkUTC 2015 11 22 21 00 00) zMoscow case_UTC_diffForAbbr = do tz <- loadTZFromDB "UTC"
tz.cabal view
@@ -1,5 +1,5 @@ Name: tz-Version: 0.1.2.1+Version: 0.1.3.0 License: Apache-2.0 License-File: LICENSE Author: Mihaly Barasz, Gergely Risko@@ -55,7 +55,7 @@ containers >= 0.5 && < 0.6, data-default >= 0.5 && < 0.8, deepseq >= 1.1 && < 2,- time >= 1.2 && < 1.7,+ time >= 1.2 && < 1.9, tzdata >= 0.1 && < 0.2, vector >= 0.9 && < 0.13 if flag(template-haskell)@@ -63,7 +63,7 @@ Data.Time.Zones.TH, Data.Time.Zones.Internal.CoerceTH Build-Depends:- template-haskell >= 2.6 && < 2.12+ template-haskell >= 2.6 && < 2.13 CPP-Options: -DTZ_TH @@ -76,11 +76,11 @@ Build-Depends: tz, base >= 4 && < 5,- HUnit >= 1.2 && < 1.6,+ HUnit >= 1.2 && < 1.7, test-framework >= 0.4 && < 1, test-framework-hunit >= 0.2 && < 0.4, test-framework-th >= 0.2 && < 0.4,- time >= 1.2 && < 1.7+ time >= 1.2 && < 1.9 Test-Suite testsSys Default-Language: Haskell2010@@ -88,17 +88,17 @@ HS-Source-Dirs: tests Main-Is: testTZSys.hs GHC-Options: -Wall- If os(mingw32) || os(mingw64)+ If os(windows) Buildable: False Build-Depends: tz, base >= 4 && < 5,- HUnit >= 1.2 && < 1.6,+ HUnit >= 1.2 && < 1.7, QuickCheck >= 2.4 && < 3, test-framework >= 0.4 && < 1, test-framework-quickcheck2 >= 0.2 && < 0.4, test-framework-th >= 0.2 && < 0.4,- time >= 1.2 && < 1.7+ time >= 1.2 && < 1.9 Test-Suite th-test Default-Language: Haskell2010@@ -111,7 +111,7 @@ Build-Depends: tz, base >= 4 && < 5,- HUnit >= 1.2 && < 1.6,+ HUnit >= 1.2 && < 1.7, test-framework >= 0.4 && < 1, test-framework-hunit >= 0.2 && < 0.4, test-framework-th >= 0.2 && < 0.4@@ -126,7 +126,7 @@ tz, tzdata, base >= 4 && < 5,- HUnit >= 1.2 && < 1.6,+ HUnit >= 1.2 && < 1.7, test-framework >= 0.4 && < 1, test-framework-hunit >= 0.2 && < 0.4, test-framework-th >= 0.2 && < 0.4@@ -140,8 +140,8 @@ Build-Depends: tz, base >= 4 && < 5,- criterion >= 0.8 && < 1.2,- time >= 1.2 && < 1.7,+ criterion >= 0.8 && < 1.3,+ time >= 1.2 && < 1.9, timezone-olson, timezone-series @@ -154,7 +154,7 @@ Build-Depends: tz, base >= 4 && < 5,- criterion >= 0.8 && < 1.2,+ criterion >= 0.8 && < 1.3, lens, thyme, time@@ -168,5 +168,5 @@ Build-Depends: tz, base >= 4 && < 5,- criterion >= 0.8 && < 1.2,+ criterion >= 0.8 && < 1.3, time