Hi Chuck, I've never used the tz database directly (I only keep it up to date and let the time be correct :-) However, AFAIK, the tz package is a loosely coupled set of utilities and libraries and it would be really hard to know if, for instance, the tz part of the libc changed... WRT the zoneinfo files, I don't think they have a serial number or the like, maybe you could cache an MD5 signature of the file together with your dst cache and check it periodically. HTH El 1 Aug 2003 a las 12:43, Chuck Soper escribió:
Hello, I'm writing a utility that uses the tz database. One of the features is to quickly (via a cache saved to disk) display daylight saving times for a given year and tz location. If the tz package is updated then I will need to re-create my dst cache.
Is there a way to programmatically determine if the tz package has been updated since the last time I ran my utility? Is there a way to determine if a specific zoneinfo file has been updated? Thanks, Chuck
-- Mariano Absatz - El Baby mailto:baby@baby.com.ar http://www.baby.com.ar/ PGP KEYS: http://www.baby.com.ar/datos/personales.html#claves_pgp |\ _ _\\/'> Powered by Pegasus Mail /|__) http://www.pmail.com ) )\