Didn't know, thanks. Back in Haskell land my conclusion is that if you're planning on doing pure date calculations you have to pass a TimeZone as well.
/Adde On Sun, Aug 19, 2012 at 12:11 AM, Brandon Allbery <allber...@gmail.com>wrote: > On Sat, Aug 18, 2012 at 6:05 PM, Adde Nilsson <trialc...@gmail.com> wrote: > >> Ok, do you know of any way to add/subtract without converting to UTC and >> back? > > > I'm not sure I'd do that in any environment, since usually libraries don't > deal with the result crossing a daylight/summer time change (and those that > do, surprise surprise, normalize to UTC). > > -- > brandon s allbery allber...@gmail.com > wandering unix systems administrator (available) (412) 475-9364 vm/sms > >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe