summaryrefslogtreecommitdiffstats
path: root/library/clock.tcl
Commit message (Collapse)AuthorAgeFilesLines
* fixes for Bug 1054101Kevin B Kenny2004-10-261-2/+4
|
* * library/auto.tcl Purged Tcl's script library of alldgp2004-10-251-41/+31
| | | | | | | | | | | * library/clock.tcl remaining references to global vars * library/init.tcl ::errorInfo and ::errorCode. * generic/tclMain.c (Tcl_Main): Updated to make use of TclGetReturnOptions instead of ::errorInfo variable. * generic/tclInterp.c (tclInit): Bug fix. Access dict variables with [dict get], not array syntax.
* * library/clock.tcl: Fixed a typo where the fallback time zoneKevin B Kenny2004-10-221-4/+4
| | | | | | | | | became ::localtime instead of :localtime. Fixed a bug where time zone names containing hyphens could not be loaded. Thanks to Todd M. Helfter <tmh@jumpgate.itsp.purdue.edu> for finding these bugs. * tests/clock.test: Added regression test cases that covers both bugs.
* doubled speed of clock formatKevin B Kenny2004-10-211-274/+208
|
* many more TIP 173 changesKevin B Kenny2004-09-271-123/+310
|
* fixed a bug where %z was always positive in :localtimeKevin B Kenny2004-09-101-5/+6
|
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-071-10/+14
| | | | | | | | | | | | | | | | | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167] * library/clock.tcl (InitTZData, ClearCaches): Changed so that the in-memory time zone :UTC (and its aliases) always gets reinitialised, in case tzdata is absent. [Bug 1019537, 1023779] * library/tzdata/*: Regenerated. * tests/clock.test (clock-31.*, clock-39.1): Corrected a problem where the 'system' locale tests fail on a non-English Windows machine. [Bug 1023761]. Added a test to make sure that alias time zones load correctly. [Bug 1023779]. * tools/tclZIC.tcl (writeLinks): Corrected a problem where alias time zone names were written incorrectly, causing them to fail to load at run time. [Bug 1023779]. * win/tclWinTime.c (Tcl_GetTime): Eliminated CPUID tests on Win64 - assuming that HAL vendors now do a better job of keeping the performance counters synchronized among CPU's. [Bug 1020445]
* * library/clock.tcl (format): Changed default timezone format Kevin B Kenny2004-08-191-2/+2
| | | | | | | from alphabetic to numeric to produce scannable times in more locales. * tests/clock.test (clock-37.1): Removed now-unused 'needPST' constraint and the comments that refer to it.
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-181-23/+65
|
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-181-0/+4874