Both of these work as expected:
clock scan [clock format [clock seconds] -timezone EST]
clock scan [clock format [clock seconds] -timezone :America/New_York]
this works:
clock format [clock seconds] -timezone :Kwajalein
and returns "MHT" in the string. But this:
clock scan [clock format [clock seconds] -timezone :Kwajalein]
fails with "unable to convert date-time string 'Tue Jan 31 02:18:26 MHT 2017": syntax error (characters 19-22)"
Chars 19-22 are " MHT".
This fails to work at all:
clock format [clock seconds] -timezone MHT
"time zone MHT not found".
I tried some other ideas, such as "+12" for the timezone. That worked like ":Kwajalein" did--returned a time string, but wouldn't scan it. ("+5" failed to even return a string. Seems inconsistent...)
Tested 8.6.2 and 8.6.6, same behavior.
|