[Haskell-cafe] Data.Time
Ashley Yakeley
ashley at semantic.org
Mon Jul 4 10:09:15 CEST 2011
On Mon, 2011-07-04 at 10:38 +0300, Yitzchak Gale wrote:
> > Leap second data is there too, so it should be possible to create a
> > Data.Time.Clock.TAI.LeapSecondTable from it.
>
> No, unfortunately. There is a place in the data structure
> for leap second information, but no live Olson
> file has every populated it AFAIK.
Have a look at the "right/UTC" timezone, I think leap-second data is
represented there. But "zdump right/UTC" does not give you the TAI time.
Quite the opposite, it gives you the UTC time if your clock is set to
TAI.
--
Ashley Yakeley
More information about the Haskell-Cafe
mailing list