fuzzy-time 0.2.0.2 → 0.2.0.3
raw patch · 3 files changed
+11/−2 lines, 3 files
Files
- CHANGELOG.md +6/−0
- fuzzy-time.cabal +2/−2
- src/Data/FuzzyTime/Types.hs +3/−0
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.2.0.3] - 2022-09-25++### Changed++* Compatibility with `time 1.11`+ ## [0.2.0.2] - 2022-09-24 ### Changed
fuzzy-time.cabal view
@@ -5,13 +5,13 @@ -- see: https://github.com/sol/hpack name: fuzzy-time-version: 0.2.0.2+version: 0.2.0.3 description: Fuzzy time types, parsing and resolution category: Time homepage: https://github.com/NorfairKing/fuzzy-time author: Tom Sydney Kerckhove maintainer: syd@cs-syd.eu-copyright: Copyright: (c) 2017-2021 Tom Sydney Kerckhove+copyright: Copyright: (c) 2017-2022 Tom Sydney Kerckhove license: MIT license-file: LICENSE build-type: Simple
src/Data/FuzzyTime/Types.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-} {-# OPTIONS_GHC -fno-warn-orphans #-}@@ -143,7 +144,9 @@ deriving instance Generic DayOfWeek +#if !MIN_VERSION_time(1,11,1) instance NFData DayOfWeek+#endif dayOfTheWeekNum :: DayOfWeek -> Int dayOfTheWeekNum = fromEnum