diff --git a/Data/Time/Zones.hs b/Data/Time/Zones.hs index cd2aaed..ca9daab 100644 --- a/Data/Time/Zones.hs +++ b/Data/Time/Zones.hs @@ -148,7 +148,7 @@ instance NFData FromLocal where -- As a consequence, a local time might correspond to two different -- points in time, but never three. -- --- TODO(klao): check that these assuptions hold. +-- TODO(klao): check that these assumptions hold. localToPOSIX :: TZ -> Int64 -> FromLocal {-# INLINABLE localToPOSIX #-} localToPOSIX (TZ trans diffs _) !lTime = res diff --git a/benchmarks/benchGreg.hs b/benchmarks/benchGreg.hs index e51a881..66e33e4 100644 --- a/benchmarks/benchGreg.hs +++ b/benchmarks/benchGreg.hs @@ -81,7 +81,7 @@ toOrdinalDateDivMod !mjd = YD year yd -- So, to find out the calendar year for a given day, we calculate -- which nominal year does its start fall. And, if we are not too -- close to the end of year, we have the right calendar --- year. Othewise, we just check whether it falls within the next +-- year. Otherwise, we just check whether it falls within the next -- calendar year. -- -- Notes: to make the reasoning simpler and more efficient ('quot' is diff --git a/tests/testTZ.hs b/tests/testTZ.hs index f28636d..f15c550 100644 --- a/tests/testTZ.hs +++ b/tests/testTZ.hs @@ -36,7 +36,7 @@ case_Budapest_LocalToUTC = do -- Handle time in winter->summer transition: localTimeToUTCFull tz (mkLocal 2014 03 30 02 15 15) @?= LTUNone (mkUTC 2014 03 30 01 15 15) zWinter - -- That utc time is acually in dst already: + -- That utc time is actually in dst already: localTimeToUTCFull tz (mkLocal 2014 03 30 03 15 15) @?= LTUUnique (mkUTC 2014 03 30 01 15 15) zSummer diff --git a/tz.cabal b/tz.cabal index ca30f29..c8a08e4 100644 --- a/tz.cabal +++ b/tz.cabal @@ -17,8 +17,8 @@ Description: in a /pure/ and /efficient/ way. . We also provide platform-independent and/or compiled-in access to - the standard Time Zone Dabase by the means of the companion @tzdata@ - package . + the standard Time Zone Database by the means of the companion @tzdata@ + package . . The package is currently in an alpha phase, I'm still experimenting with different ideas wrt. scope\/API\/implementation\/etc. All