Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-10-29
08:19 • Closed ticket [2819334fff]: clock ... -format "%%r" plus 7 other c... artifact: 999aabd8c6 user: kennykb
08:19 • Ticket [2819334fff]: 4 changes artifact: 6af831ab67 user: kennykb
2009-07-10
15:42 • Ticket [2819334fff]: 1 change artifact: b77f3f0ff8 user: dkf
08:48 • Ticket [2819334fff]: 6 changes artifact: e6bb71a7ea user: avl42
01:35 • New ticket [2819334fff]. artifact: 74a545cc2f user: avl42

clock ... -format "%%r"

Closed / Fixed2819334fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-07-10 01:35:30
%r seems to get substituted by "%I:%M:%S %p" in a pre-step. 
This pre-step doesn't take "%%" into account, thus a "%%r" 
becomes "%%I:%M:%S %p".

if the pre-step is performed with a [string map], then doing it so
   {%% %% %r {%I:%M:%S %p}}  instead will make sure that "%%"
cannot be torn apart.

See also: Message-ID: <[email protected]>
avl42plain2009-07-10 08:48:35
assigned to Kevin.

removed restriction to 8.5.2 after skimming current ChangeLog for any occurrances of "%r" (and not finding any)
dkf Ticket [2819334fff]: 1 change [History diff]2009-07-10 15:42:46
kennykbplain2009-10-29 08:19:38
It's nastier than that, but the pre-step is now done with a single [string map] beginning with %% %%.
kennykbplain2009-10-29 08:19:39
allow_comments - 1
Log in (anonymous is fine) to add a comment.