Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Data/Time/Zones.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchGreg.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/testTZ.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tz.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://hackage.haskell.org/package/tzdata>.
the standard Time Zone Database by the means of the companion @tzdata@
package <https://hackage.haskell.org/package/tzdata>.
.
The package is currently in an alpha phase, I'm still experimenting
with different ideas wrt. scope\/API\/implementation\/etc. All
Expand Down