On Jan 28, 2008, at 2:27 PM, John Cowan wrote:

Graham Fawcett scripsit:

My TZ is set properly, and using strace I see that the correct
zoneinfo file is being accessed. "date +%Z" works properly. Any ideas?

<snip>

However, this doesn't really solve your problem, because it sets
the offset and tzname to the current values, not to the values in
effect at the time.

The TZ database contains historical DST rules. The usual Unix suspects provide a compiled form (Windows doesn't use the TZ database),

SLIB has code to read the binary form (tzfile.scm) and use the info (timecore.scm & timezone.scm).

(I have been meaning to steal the algorithms for the srfi-19 egg.)


I admit I don't know how to make progress here.  Let me think on it.

--
John Cowan  [EMAIL PROTECTED]   http://www.ccil.org/~cowan
O beautiful for patriot's dream that sees beyond the years
Thine alabaster cities gleam undimmed by human tears!
America! America!  God mend thine every flaw,
Confirm thy soul in self-control, thy liberty in law!
        -- one of the verses not usually taught in U.S. schools


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon




_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to