pact-time 0.2.0.1 → 0.2.0.2
raw patch · 3 files changed
+13/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- pact-time.cabal +8/−6
- src/Pact/Time/Format/Internal.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for pact-time +## 0.2.0.2 -- 2023-05-11++* Support mtl-2.3+ ## 0.2.0.1 -- 2022-10-25 * Relax upper bound on base
pact-time.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: pact-time-version: 0.2.0.1+version: 0.2.0.2 synopsis: Time Library for Pact Description: A minimal time library for usage with the [Pact Smart Contract@@ -27,13 +27,15 @@ copyright: Copyright (c) 2021 Kadena LLC. category: Data, System tested-with:- GHC==9.4.2- GHC==9.2.4- GHC==9.0.2+ GHC==9.6+ GHC==9.4+ GHC==9.2+ GHC==9.0 GHC==8.10.7- GHC==8.8.4- GHC==8.6.5+ extra-source-files:++extra-doc-files: README.md CHANGELOG.md
src/Pact/Time/Format/Internal.hs view
@@ -280,7 +280,7 @@ } toWeekDate :: ModifiedJulianDay -> WeekDate-toWeekDate = join (toWeekOrdinal . toOrdinalDate)+toWeekDate d = toWeekOrdinal (toOrdinalDate d) d {-# INLINEABLE toWeekDate #-} fromWeekDate :: WeekDate -> ModifiedJulianDay