[Ocaml-i18n] TimeZone in OCamlI18N

Yamagata Yoriyuki yoriyuki at mbg.ocn.ne.jp
Thu Jun 10 13:55:40 PDT 2004


OCamlI18N has a TimeZone type, but no concrete TimeZone is provided.
Is there a plan to add them?  I have looked to tzdata, but it defines
rather complex rules, and I am not sure OCamlI18N can work with them.

If there is no plan, I will use Shawn Wagner's annextlib, though Unix
data functions are using (in my understanding) enviromental variables
for TZ and hence need some care for a thread application.

What I want is parsing Last-Modified header of HTTP, which can contain
3-letter TZ name, for my personal tool.

By the way, what do you think adding an absolute time type
(independent from calenders and timezone), like Unix time_t.  Since
OCaml has bignum, we do not have the problem of year 2038 problem.

--
Yamagata Yoriyuki




More information about the Ocaml-i18n mailing list