Re: [Haskell-cafe] data.time.zoneinfo

2010-10-21 Thread Yitzchak Gale
Anatoly Yakovenko wrote: > I am trying to figure out how to use this library, seems like this should work > Data.Time.ZoneInfo... Have you looked at my timezone-olson package? I wrote it as an alternative to Data.Time.ZoneInfo. I think it is more flexible, and better integrated with Data.Time. Th

[Haskell-cafe] data.time.zoneinfo

2010-10-20 Thread Anatoly Yakovenko
I am trying to figure out how to use this library, seems like this should work Prelude Data.Time.ZoneInfo> ctx <- newContext Nothing Prelude Data.Time.ZoneInfo> name <- zoneInfoName (utcOlsonZone ctx) True Prelude Data.Time.ZoneInfo> newOlsonZone ctx name *** Exception: Data.Time.ZoneInfo.newOlso