set infos [string range $buf 5 [expr [string first ")" $buf] -1]]
set infos [clock scan " [string range $infos 12 13] [string range $infos 9 10] [string range $infos 6 7] [string range $infos 0 1] [string range $infos 3 4] 00"]
.addmatch date(18:00-15/04/04)
the bot return Tcl error [team:addmatch]: unable to convert date-time string " 04 04 05 18 00 00"
The dateString consists of zero or more specifications of the following form:
time
A time of day, which is of the form: hh?:mm?:ss?? ?meridian? ?zone? or hhmm ?meridian? ?zone?. If no meridian is specified, hh is interpreted on a 24-hour clock.
date
A specific month and day with optional year. The acceptable formats are mm/dd?/yy?, monthname dd ?, yy?, dd monthname ?yy?, day, dd monthname yy, ?CC?yymmdd, ?CC?yy-mm-dd, dd-monthname-?CC?yy. The default year is the current year. If the year is less than 100, we treat the years 00-68 as 2000-2068 and the years 69-99 as 1969-1999. Not all platforms can represent the years 38-70, so an error may result if these years are used.