<i>ClockGetdatefieldsObjCmd(): avoid signed integer overflow and platform-dependent behavior</i> status still Pending with 3 other changes
by
.
D 2023-09-20T16:57:37.299
J icomment I\snotice\sthat\s<tt>::tcl::clock::GetSystemTimeZone</tt>\sis\sreturning\s<tt>:localtime</tt>\swhen\srunning\stests\sfor\sthe\s<tt>OPTS=static,mscvrt</tt>\sconfiguration\s(rather\sthan\se.g.\s<tt>:America/Chicago</tt>),\swhich\scauses\s<tt>ConvertUTCToLocal()</tt>\sto\suse\s<tt>ConvertUTCToLocalUsingC()</tt>\sinstead\sof\s<tt>ConvertUTCToLocalUsingTable()</tt>.\sI\sam\sguessing\sthis\sis\snot\sintentional.\r\n\r\nHowever\sI\swonder\sif\sclock-7.10\sshould\sstill\swork\swith\s<tt>:localtime</tt>,\sor\sbe\sconstrained\sto\snot\srun\sunder\s<tt>:localtime</tt>.\sEither\sway,\shaving\sa\ssimilar\stest\swhich\sforces\s<tt>:localtime</tt>\scould\sbe\suseful.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 00655c867eabd57ac3acd93bffe2f93799c12c89
U chrstphrchvz
Z c220f375172dcababd1e1c3d1b38ec0b