packages feed

rfc3339 1.0.3 → 1.0.4

raw patch · 2 files changed

+18/−19 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Data/Time/RFC3339.hs view
@@ -10,6 +10,22 @@ -- -- Support for reading and displaying time in the format specified by  -- the RFC3339 <http://www.ietf.org/rfc/rfc3339.txt>+--+-- 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  module Data.Time.RFC3339 (     -- * Basic type class@@ -33,23 +49,6 @@  -- ---------------------------------------------------------------------------- -- The RFC3339 class definition---- $basic---  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  -- | This class is here to allow future support for other data types  -- like Data.Text or Data.ByteString if that becomes necessary
rfc3339.cabal view
@@ -1,5 +1,5 @@ Name:          rfc3339-Version:       1.0.3+Version:       1.0.4 Category:      Web, Time Synopsis:      Parse and display time according to RFC3339 Description:   @@ -12,7 +12,7 @@     Right now there is only support for reading and showing String     .     For more information and usage examples please read the documentation of -    the module bellow.+    the module here: <http://hackage.haskell.org/packages/archive/rfc3339/1.0.4/doc/html/Data-Time-RFC3339.html>     . Build-type:    Simple Maintainer:    Hugo Daniel Gomes <mr.hugo.gomes@gmail.com>