Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- From: Michael Schlenker <schlenk@xxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 16:15:16 +0200
MartinLemburg@UGS wrote:
Hello Michael,
sad, that I didn't read the man page good enough.
But reading the man page again, I'm not sure if this problem is about
daylight savings time.
I'm not on the boundary of daylight savings time, so I would expect to
get the right time, not only the right date.
And even if - "now" is now, here in Berlin and not "1 hour to the
west".
I think such "relative" tokens like now (which is not really relative,
like e.g. today) must cause "clock scan" to return the real, current
time with all corrections.
And ... by the way:
% clock format [clock seconds]
Thu Mar 30 13:59:02 +0100 2006
% clock format [clock scan now]
Thu Mar 30 14:00:02 +0100 2006
But it is one hour later! It does not seem to matter, if "clock scan
now" or "clock seconds" is used!
+0100 is the timezone specifier... +1 Hour against UTC in your case,
which is winter time..., so no daylight saving time included.
It works fine on my linux box... (SUSE 9.3)
schlenk@vacca:~> tclsh8.5
% clock format [clock seconds]
Thu Mar 30 16:10:05 CEST 2006
% clock format [clock scan now]
Thu Mar 30 16:10:17 CEST 2006
Not sure whats going on there..., sorry for the confusion.
Michael
.
- References:
- winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- From: MartinLemburg@UGS
- Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- From: Michael Schlenker
- Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- From: MartinLemburg@UGS
- winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- Prev by Date: invoking wish remotely
- Next by Date: Re: 8.5 "apply" command (was Re: TK: question about "-command" usage with "{}" and double quoter)
- Previous by thread: Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- Next by thread: Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- Index(es):
Relevant Pages
|