packages feed

eternity-timestamped 0.2.0.1 → 0.2.1

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Eternity.Timestamped.Data: timestampDay :: Timestamp -> Day

Files

eternity-timestamped.cabal view
@@ -1,7 +1,7 @@ name:   eternity-timestamped version:-  0.2.0.1+  0.2.1 synopsis:   Automatic timestamping for Eternity category:
library/Eternity/Timestamped/Data/Conversion.hs view
@@ -18,6 +18,9 @@ timestampUtcTime :: Timestamp -> UTCTime timestampUtcTime = posixSecondsToUTCTime . timestampPosixTime +timestampDay :: Timestamp -> Day+timestampDay = utctDay . timestampUtcTime+ utcTimeTimestamp :: UTCTime -> Timestamp utcTimeTimestamp =   posixTimeTimestamp . utcTimeToPOSIXSeconds
library/Eternity/Timestamped/Data/TypesAndInstances.hs view
@@ -14,7 +14,8 @@ Amount of microseconds since @1970-01-01 00:00.000000 UTC@. The semantics are the same as of 'Data.Time.Clock.POSIX.POSIXTime'. -This datatype is used instead of 'UTCTime' for space-efficiency.+This datatype is used instead of 'UTCTime' or 'Data.Time.Clock.POSIX.POSIXTime'+for space-efficiency. -} newtype Timestamp = Timestamp Int64