Well, after looking at the wiki (
I didn't see anything immediately on subject so...
If you know that the date string format is yr/mo/day,
that the year is four digits, that the month will be
two chars and that the day needs a leading
zero removed if one exists an answer is to
code a couple of functions todo the translation.
proc num_to_month {dstr} {
array set months {
jan 01
feb 02
mar 03
apr 04
may 05
jun 06
jul 07
aug 08
sep 09
oct 10
nov 11
dec 12
}
set ind [string range $dstr 4 5]
foreach i [array name months] {
if {"$months($i)" == $ind} {
return $i
}
}
}
proc rlz {dstr} {
if {[string index $dstr 6] == 0} {
return [string index $dstr 7]
}
return [string range $dstr 6 7]
}
then:
set final [format "%s %s %s" [rlz $dstr] [num_to_month $dstr] [string range $dstr 0 3]]