datetime.tz_convert
Convert a datetime between IANA timezones and return an ISO 8601 string with UTC offset. Handles input without offset using from_tz and resolves DST overlaps to the earlier time.
Instructions
IANA 타임존 사이에서 시각을 변환해 UTC 오프셋이 붙은 ISO 8601 문자열 iso_datetime 으로 돌려준다. 입력은 초 단위(YYYY-MM-DDTHH:MM:SS, 공백 구분 허용, 소수 초 불가)이며 오프셋이 없으면 from_tz 로 해석하고 있으면 from_tz 를 쓰지 않는다. 서머타임 겹침 시각은 앞선 쪽으로 해석한다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tz | Yes | ||
| from_tz | Yes | ||
| iso_datetime | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| iso_datetime | Yes |