[Haskell-cafe] Data.Time
Joe Healy
joe at omc-international.com.au
Sat Jul 2 12:49:04 CEST 2011
On Sat, 2011-07-02 at 12:43 +0200, Erik Hesselink wrote:
> On Saturday, July 2, 2011, Joe Healy <joe at omc-international.com.au> wrote:
> > One of the points I found "non obvious" were the fact that local time is
> > just that. There is no knowledge of the actual timezone in the data
> > type. If you wish to store that, it needs to be stored alongside.
>
> Isn't that what ZonedTime [1] is for?
>
> [1] http://hackage.haskell.org/packages/archive/time/1.1.4/doc/html/Data-Time-LocalTime.html
Ahahh - learning more all the time.
Is there a good place to put a set of beginner examples of this sort of
stuff? Exactly like I missed this type.
Joe
More information about the Haskell-Cafe
mailing list