time-quote alternatives and similar packages
Based on the "Time" category.
Alternatively, view time-quote alternatives based on common mentions on social networks and blogs.
-
timezone-olson
A pure Haskell parser and renderer for binary Olson timezone files -
time-locale-compat
Compatibility of TimeLocale between old-locale and time-1.5 -
duration
A tiny compile-time time utility library, inspired by zeit/ms. -
fixed-timestep
Pure Haskell library to run an action repeatedly, a specific amount of times per second. -
flick-duration
Provides Duration; a type to contain amounts of time
Access the most powerful time series database as a service
Do you think we are missing an alternative of time-quote or a related project?
README
time-quote: quasi-quotes for dates and times
time-quote
provides quasi-quoters to parse dates and times according to ISO 8601 formats.
By using quasi-quotes for literals, parse errors are found by the compiler.
Usage
To use quasi-quotes, place the pragma at the top of the source file,
{-# LANGUAGE QuasiQuotes #-}
If using GHCi, enter at the prompt
> :set -XQuasiQuotes
time-quote
provides quasi-quoters for each type from the time
library that defines an ISO8601
instance.
Use the quasi-quoters to quote a literal date or time of the corresponding type; for example
[utcTime| 2018-05-25T15:36:27.416462897Z |] -- :: UTCTime
Refer to the API documentation for a complete list of the available quasi-quoters and details of the formats accepted.