From: Andreas K. <and...@gm...> - 2024-07-16 16:00:43
|
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > puts [info patchlevel] > foreach {n date} { > 1 {Sat, 01 Jan 2000 23:59:00} > 2 {Tue, 29 Feb 2000 21:57:00} > 3 {Sun, 31 Dec 2000 20:42:00} > 4 {Mon, 01 Jan 2001 23:59:00} > 5 {Thu, 28 Feb 2002 21:57:00} > 6 {Wed, 31 Dec 2003 20:42:00} > } { > puts "$date -- [catch {clock scan $date -gmt 1} clock] = $clock" Adding `-validate 0` to the command fixes the issue for 9.0b3. That adds more evidence that something in the validation mishandles the Sunday. -- Happy Tcling, Andreas Kupries <and...@gm...> <https://core.tcl-lang.org/akupries/> <https://akupries.tclers.tk/> Developer @ SUSE Software Solutions Germany GmbH ------------------------------------------------------------------------------- |