[clock scan day] behaves differently in Tcl8.5 than in Tcl8.4



Hi

Is it a desired change that adding a day in Tcl8.5 does not add a day, but just returns the coming day change (or whatever you'd call that in English ;-)?

> tclsh8.4
% clock format [clock seconds]
Mon Aug 29 15:55:21 MEST 2005
% clock format [clock scan day]
Tue Aug 30 15:55:21 MEST 2005
%
-> adds a day (= 24 hours)


> tclsh8.5 % clock format [clock seconds] Mon Aug 29 15:56:20 +0200 2005 % clock format [clock scan day] Tue Aug 30 00:00:00 +0200 2005 % -> just adds a couple of hours instead of 24 hours

As I have some code that breaks with Tcl8.5 I'd like to know if this is an intended behavior or not (so I know whether to wait or work around it).

Thanks for any hints
Ronnie
----------------------------------------------------------------------
Ronnie Brunner                             ronnie.brunner@xxxxxxxxxxxx
Netcetera AG, 8040 Zuerich   phone +41 1 247 79 79 fax +41 1 247 70 75
.