thyme
thyme copied to clipboard
A faster date and time library based on time
Currently uses the Generic Deriving Would it make more sense or have the Ord instance ``` instance Ord ZonedTime where compare a b = compare (f a) (f b) where...
This breaks tools like [pretty-show](https://hackage.haskell.org/package/pretty-show) as they can't parse the output. It would be great if, for example, `Day` produced output like `Day 2016 12 31` so that these tools...
After applying @kim 's patch for #38 to load a `LeapSecondTable`, I see this. Lookup UTC -> TAI ``` > leapSecondTable $ Left $ mkUTCTime (fromGregorian 2015 6 30) (hhmmss...
In particular, `NominalDiffTime` is missning (at least) `Fractional` and `Num` instances: ``` *Data.Thyme> 2::NominalDiffTime :3:1: No instance for (Num NominalDiffTime) arising from the literal `2' In the expression: 2 ::...
This is just a suggestion, and there may be reasons I'm unaware that this wasn't done. I feel like having `WeekDate` and `Month` be data types instead of type synonyms...
It's hard to keep track of all the different thyme types without a handy diagram. I spent some time in the same tool edwardk used for lens and produced this...
``` Haddock coverage: 28% ( 5 / 18) in 'Data.Thyme.Format.Internal' Missing documentation for: Module header utf8Char (src/Data/Thyme/Format/Internal.hs:32) utf8String (src/Data/Thyme/Format/Internal.hs:33) shows02 (src/Data/Thyme/Format/Internal.hs:45) shows_2 (src/Data/Thyme/Format/Internal.hs:50) shows03 (src/Data/Thyme/Format/Internal.hs:54) showsYear (src/Data/Thyme/Format/Internal.hs:61) fills06 (src/Data/Thyme/Format/Internal.hs:70) drops0...
Currently implemented as: ``` toSeconds :: (TimeDiff t, Fractional n) => t -> n toSeconds = (* recip 1000000) . fromIntegral . view microseconds ``` rather than ``` toSeconds =...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/haskell-github-trust/thyme). ## Open The following updates have all...
``` Test suite failure for package thyme-0.4.1 sanity: exited with: ExitFailure 1 Full log available at /home/curators/work/unpack-dir/.stack-work/logs/thyme-0.4.1-test.log 0.539149s 0.180716s 2217868227017.81408s 6000436701895.122432s 7970198933743.921408s -2161992598903.823054s -2289228754514.260909s 7.37701998820494e11 8.795195637555305e12 0.155506s -7440612406406.662016s All wanted...