thyme icon indicating copy to clipboard operation
thyme copied to clipboard

A faster date and time library based on time

Results 36 thyme issues
Sort by recently updated
recently updated
newest added

Rebased version of https://github.com/haskell-github-trust/thyme/pull/45. Needs further evaluation of: 1. the `scanner` dependency, should we pickup an additional dependency and is the package well enough maintained to choose. 1. Run more...

AFAICT, there's no https://hackage.haskell.org/package/time-1.11.1.1/docs/Data-Time-Format.html#v:parseTimeM (nor https://hackage.haskell.org/package/time-1.11.1.1/docs/Data-Time-Format.html#v:defaultTimeLocale ) in Data.Thyme.Format, making it not quite drop-in compatible

I just noticed that this library hasn't seen any commits in a while. If you are interested in accepting any help, I could be a co-maintainer of `thyme`.

Version 0.3.6 is not PVP compliant. See the diff here https://github.com/liyang/thyme/compare/0.3.5.4...master. For example the signature of `mkUTCTime` has changed from `mkUTCTime :: Day -> DiffTime -> UTCTime` to `mkUTCTime ::...

When building `thyme` on FreeBSD using `stack`, I get the following error: ``` Configuring thyme-0.3.5.5... Building thyme-0.3.5.5... Preprocessing library thyme-0.3.5.5... [ 1 of 20] Compiling Data.Thyme.Format.Internal ( src/Data/Thyme/Format/Internal.hs, .stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0/build/Data/Thyme/Format/Internal.o )...

I have the following code: ```haskell module Main where import Data.Thyme.Time main :: IO () main = print $ (realToFrac (150 :: NominalDiffTime) :: NominalDiffTime) ``` * When I compile...

Show instance for `UTCTime` doesn't appear unless you import Data.Thyme.Format / Data.Thyme.LocalTime.

This patch does several things: - adds benchmark for Thyme aeson `UTCTime` encode and parse vs. Time instances - adds faster encoding/parsing instances for `UTCTime`: they used to be ~...

Arbitraries used in property tests are built in the library. But to avoid depending on quickcheck outside of the test context, we have to conditionally exclude this code.