Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)



MartinLemburg@UGS wrote:
Hello,

I just realized, that there is one 1 hour difference between the "old"
clock from tcl 8.4.12 and the "new" clock from tcl 8.5a4 (starpack).

I only used "clock format [clock scan now]" and the result in tcl
8.4.12 was right. The result in tcl 8.5a4 (starpack) is one hour before
the current time.

I think it could be something about winter and summer time, because
last weekend (26/27.3.2006) we switched one hour forward to the summer
time.

Should I file a bug?

This seems to be documented in the Tcl 8.5 clock scan manpage:
(near the end of the manpage)

Daylight savings time correction is applied only when the relative time
is specified in units of days or more

As now is a relative time and not in units of days or more, no
correction is done.

Michael
.