Two values of LocalTime may well be computed with respect to different timezones, which makes the operation you ask for dangerous. First convert to UTCTime (with localTimeToUTC), then compare.

Cheers,
~d

Quoting bri...@aracnet.com:

which is a variation of the question, why can't I compare localtimes ?
or am I missing something in Time (yet again).

Thanks,
Brian
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to