packages feed

time 1.8.0.2 → 1.8.0.3

raw patch · 4 files changed

+33/−3 lines, 4 files

Files

changelog.md view
@@ -1,5 +1,8 @@ # Change Log +## [1.8.0.3]+- Add "Quick start" documentation+ ## [1.8.0.2] - Fix behaviour of %Q in format 
configure.ac view
@@ -1,4 +1,4 @@-AC_INIT([Haskell time package], [1.8.0.2], [ashley@semantic.org], [time])+AC_INIT([Haskell time package], [1.8.0.3], [ashley@semantic.org], [time])  # Safety check: Ensure that we are in the correct source directory. AC_CONFIG_SRCDIR([lib/include/HsTime.h])
lib/Data/Time.hs view
@@ -1,3 +1,30 @@+{-|++= Quick Start++Use these types for time regardless of location (not caring about leap-seconds):++* 'UTCTime' for actual times+* 'NominalDiffTime' for differences between times, i.e. durations++Use these types for the ways people refer to time:++* 'Day' for something like June 27th 2017+* 'TimeOfDay' for something like 5pm+* 'LocalTime' for a 'Day' with a 'TimeOfDay'+* 'TimeZone' for a time zone offset (not actually the time zone itself) like -0700+* 'ZonedTime' for a 'LocalTime' with a 'TimeZone'++Use this for low-latency timing:++* 'Data.Time.Clock.System.SystemTime'++These are less commonly needed:++* 'Data.Time.Clock.TAI.AbsoluteTime' and 'DiffTime' if you do care about leap-seconds.+* 'Data.Time.Clock.TAI.LeapSecondMap' for tracking the leap-seconds+* 'UniversalTime' for time based on Earth rotation+-} module Data.Time (     module Data.Time.Calendar,
time.cabal view
@@ -1,5 +1,5 @@ name:           time-version:        1.8.0.2+version:        1.8.0.3 stability:      stable license:        BSD3 license-file:   LICENSE@@ -8,7 +8,7 @@ homepage:       https://github.com/haskell/time bug-reports:    https://github.com/haskell/time/issues synopsis:       A time library-description:    A time library+description:    Time, clocks and calendars category:       Time build-type:     Configure cabal-version:  >=1.10