[Haskell-cafe] Time zones and IO

Heller Time hellertime at gmail.com
Sun Nov 6 23:40:04 CET 2011


An all to real point that I had overlooked inadvertently. I think adding a timezone parameter would be a fine change to the API. I'll look at it this evening, I've been meaning t

Chris Heller 
SAS - Advanced Analytics
Teragram Research & Development
phone: 1-617-576-6800 x54237
mobile: 1-617-460-3643
email: heller at teragram.com

On Nov 6, 2011, at 5:28 PM, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Sun, Nov 6, 2011 at 17:25, Heller Time <hellertime at gmail.com> wrote:
> I rationalized the use of unsafePerformIO in the library by deciding that it was only being used in the case of a LocalTime instance (a user could always stick to UTCTime and avoid the issues) and that unless the machine running the program using time-recurrence was traveling across timezones (and the system was updating that fact) the program would essentially be referentially transparent :)
> 
> There's also late-night hackers doing stuff when DST changes (as it did in the US last night and Europe a week ago).
> 
> -- 
> brandon s allbery                                      allbery.b at gmail.com
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111106/f0289f2a/attachment.htm>


More information about the Haskell-Cafe mailing list