Overview
| Artifact ID: | deb0b830626d171da156c86eccbc099d8d6f5fa4 |
|---|---|
| Ticket: | 1761672fffffffffffffffffffffffffffffffff
literal %T sneaking out for clock format %H:%M:%S |
| User & Date: | kennykb on 2007-07-31 04:40:36 |
Changes
- closedate changed to: "2007-07-30T21:40:36"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 Originator: NO Identical input, as far as I can tell, against the HEAD: % set f "%a, %d %b %Y %H:%M:%S GMT" %a, %d %b %Y %H:%M:%S GMT % clock format [clock seconds] -format $f -gmt 1 Mon, 30 Jul 2007 17:34:48 GMT Is your Tcl self-built, or did you get it from a known distribution? The reason that I ask is that I suspect a corrupted 'clock.tcl' - specifically the code in the procedure ::tcl::clock::LocalizeFormat that looks like: set format [string map [list %r [mc TIME_FORMAT_12] \ %R [mc TIME_FORMAT_24] \ %T [mc TIME_FORMAT_24_SECS]] $format] That's the only place that %T is handled. And it's pretty clear that it replaces %T with %H:%M:%S, not the other way around. Can you check that your $::tcl_library/clock.tcl matches the HEAD? I haven't done anything to clock.tcl since April, and as I said, it Works For Me. - login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "kennykb"