RE: [Haskell-cafe] Re: why doesn't time allow diff of localtimes ?

2010-04-01 Thread Bayley, Alistair
bri...@aracnet.com Maciej Piechotka uzytkown...@gmail.com wrote: On Wed, 2010-03-31 at 19:29 -0700, bri...@aracnet.com wrote: wagne...@seas.upenn.edu wrote: Two values of LocalTime may well be computed with respect to different timezones, which makes the operation you ask

[Haskell-cafe] Re: why doesn't time allow diff of localtimes ?

2010-03-31 Thread Maciej Piechotka
On Wed, 2010-03-31 at 19:29 -0700, bri...@aracnet.com wrote: On Wed, 31 Mar 2010 01:32:56 -0400 wagne...@seas.upenn.edu 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

Re: [Haskell-cafe] Re: why doesn't time allow diff of localtimes ?

2010-03-31 Thread briand
On Thu, 01 Apr 2010 06:20:25 +0200 Maciej Piechotka uzytkown...@gmail.com wrote: On Wed, 2010-03-31 at 19:29 -0700, bri...@aracnet.com wrote: On Wed, 31 Mar 2010 01:32:56 -0400 wagne...@seas.upenn.edu wrote: Two values of LocalTime may well be computed with respect to different