Overview
| Artifact ID: | 42008f7b8dce1b39fd366acfa9f7e9a92030253c |
|---|---|
| Ticket: | 2207436fffffffffffffffffffffffffffffffff
clock format: wrong handling of MET-1METDST timezone |
| User & Date: | nijtmans on 2008-12-01 18:14:30 |
Changes
- icomment:
File Added - 303583: clock.patch Here is the patch I developed for it, with test cases. With your permission, I would like to check this in in both trunk and Tcl 8.6 (but if you prefer to do it yourself, that's fine as well). This solves an immediate problems: In NXP, the default locale for all European mainland countries is MET-1METDST, and the current Tcl implementation means that all Tcl applications (which I'm promoting) display wrong time stamps in the log files during a few weeks each year. If this patch can be in Tcl 8.5.6 (expected in december), then HP (usually having a delay of 1 month) will have it's pachage in january, then I can convince NXP to upgrade to Tcl 8.5.6 before march 2009 when the problem will occur again. That's why I am urging this patch. The full solution would be to parse /usr/lib/tztab on HP-UX. I'm willing to implement that. But still, on system where this file is not available, a heuristic should simply not use US rules in European time zones. That's why I started with implementing this heuristic as a first step. For the full solution, there still is time enough to get it in Tcl 8.6, but at least this patch solves the immediate problem. The test cases 'prove' that this patch works fine for time zones 0 up to -12, so all time zones where the European Summer time rules apply. Regards, Jan Nijtmans File Added: clock.patch - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"