Time Libraries Rough Draft

Aaron Denney wnoise at ofb.net
Sat Feb 12 15:46:44 EST 2005


On 2005-02-12, John Meacham <john at repetae.net> wrote:
> getLeapSecondTable = do
>         handle (\_ -> return builtInTable) $  readFile "/etc/leapseconds"
>                 >>= return . readLeapSecondTable

libtai uses (${PREFIX})/etc/leapseconds.dat
the Time Service of the US Naval Observatory provides one at
ftp://maia.usno.navy.mil/ser7/tai-utc.dat

It would be nice if we could use one of those formats rather than
creating yet another one.

-- 
Aaron Denney
-><-



More information about the Libraries mailing list