[local-time-devel] The Official Timezone Repository: http://www.date-time-zone.com/

Attila Lendvai attila.lendvai at gmail.com
Mon Sep 29 15:48:10 UTC 2008


> That's great, but I don't think we can realistically use this.  I'd rather not
>    a) introduce a dependency on or include an xml parser
> and b) have to parse a 6.7MB file for timezone information, the majority of
> which a user will never use.


we could leave the parsing to the lib developers using some code that
is not loaded by default. the result of the parsing is then encoded in
a more lisp-friendly way and added to the repository (e.g.
factory-functions in one big .lisp file, read'able sexps in a one
timezone per file format, etc)

of course this is all superfluous complexity if the parsing code is
small, fast and doesn't need any external dependencies.

btw, i was wrongly suggesting that the link in my previous mail is
pointing to some canonical timezone repository. the most canonical db
i can find now is this: http://www.twinsun.com/tz/tz-link.htm (note:
this page has an "Other time zone databases" section). probably the
tzdata files are also compiled from this.

-- 
 attila



More information about the local-time-devel mailing list