Skip to content
Snippets Groups Projects
Commit 5c1522df authored by Ashley Yakeley's avatar Ashley Yakeley
Browse files

Document lack of "instance Eq ZonedTime" (#109)

parent 6a437d64
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,10 @@ import Data.Time.LocalTime.Internal.LocalTime
-- | A local time together with a time zone.
--
-- There is no 'Eq' instance for @ZonedTime@.
-- If you want to compare local times, use 'zonedTimeToLocalTime'.
-- If you want to compare absolute times, use 'zonedTimeToUTC'.
data ZonedTime = ZonedTime {
zonedTimeToLocalTime :: LocalTime,
zonedTimeZone :: TimeZone
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment