Popularity
3.4
Declining
Activity
0.0
Stable
2
3
2

Monthly Downloads: 4
Programming language: Haskell
License: GNU General Public License v3.0 only
Tags: Time    

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.

Do you think we are missing an alternative of time-quote or a related project?

Add another 'Time' Package

README

time-quote: quasi-quotes for dates and times

Hackage version Build Status

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.