On Wed, 31 Mar 2010 01:32:56 -0400 [email protected] wrote: > 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.
that makes sense. unfortunately getting the current timezone to convert to UTC results in the dreaded IO contamination problem... Brian _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
