On 10/1/2012 12:39 PM, Lennart Regebro wrote: > On Mon, Oct 1, 2012 at 6:21 PM, Larry Hastings <larry at hastings.org > <mailto:larry at hastings.org>> wrote: > > On 10/01/2012 04:29 PM, Barry Warsaw wrote: >> Using the script I mentioned in an different response, if someone installed >> the database to some location (TBD), then there would probably be a config >> file sitting next to it. A simple .ini file with an 'enable' flag would be >> needed to turn on the override. > > Perhaps said config file could also contain the timestamp of the tz > database? Then we could intelligently choose the most currentest one. > > > The most current one is likely to be the one provided by the operating > system, which does not contain any .ini file, nor, as far as I can tell, > any information about the database version or any timestamps. But Windows does not provide one, or at least, the proposal seems to be not use whatever it does have. I think your PEP should propose one api but conditional tz db access code for systems with and without the tz db already provided. -- Terry Jan Reedy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4