rfc3339: Parse and display time according to RFC3339

[ bsd3, library, time, web ] [ Propose Tags ] [ Report a vulnerability ]

Parse and display time according to RFC3339: http://www.ietf.org/rfc/rfc3339.txt

This package defines a type class to parse and read RFC 3339 from different data types. Right now there is only support for reading and showing String

Example of usage: > > import Data.Time.LocalTime > > showTime :: IO String > showTime = getZonedTime >>= return . showRFC3339 > > example1 = "1985-04-12T23:20:50.52Z" > example2 = "1996-12-19T16:39:57-08:00" > example3 = "1990-12-31T23:59:60Z" > example4 = "1990-12-31T15:59:60-08:00" > example5 = "1937-01-01T12:00:27.87+00:20" > examples = [example1,example2,example3,example4,example5] > > readAll = map readRFC3339 examples >

For more information please read the documentation of the module bellow.

Modules

[Last Documentation]

  • Data
    • Time
      • Data.Time.RFC3339

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5
Dependencies base (<5), old-locale, time (>=1.2) [details]
License BSD-3-Clause
Copyright Hugo Daniel Gomes
Author Hugo Daniel Gomes <mr.hugo.gomes@gmail.com>
Maintainer Hugo Daniel Gomes <mr.hugo.gomes@gmail.com>
Category Web, Time
Source repo head: git clone git://github.com/HugoDaniel/RFC3339.git
Uploaded by HugoGomes at 2011-05-10T11:30:37Z
Distributions NixOS:1.0.5
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 4287 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 7 reports]