thyme
thyme copied to clipboard
instance Ord ZonedTime
Currently uses the Generic Deriving
Would it make more sense or have the Ord instance
instance Ord ZonedTime where
compare a b = compare (f a) (f b)
where f t = (zonedTimeToUTC t, zonedTimeZone t)
so that ZonedTime is sorted by when the utc time rather than when it happens within the local timezone?