任意時區之間時間轉換(IANA tz 名稱)。
Args: time: ISO 8601 字串(含或不含 tz offset)。 from_tz: 來源時區("Asia/Taipei"、"UTC"、"America/New_York")。 to_tz: 目標時區。
任意時區之間時間轉換(IANA tz 名稱)。
Args: time: ISO 8601 字串(含或不含 tz offset)。 from_tz: 來源時區("Asia/Taipei"、"UTC"、"America/New_York")。 to_tz: 目標時區。
| Nom | Type | Description |
|---|---|---|
| time * | string | — |
| from_tz * | string | — |
| to_tz * | string | — |
{
"properties": {
"time": {
"title": "Time",
"type": "string"
},
"from_tz": {
"title": "From Tz",
"type": "string"
},
"to_tz": {
"title": "To Tz",
"type": "string"
}
},
"required": [
"time",
"from_tz",
"to_tz"
],
"title": "timezone_convertArguments",
"type": "object"
}tw_timezone_convert({ time: "…" })