convert_timezone
Convert a moment between IANA timezones to get the local time in a target zone, with local date parsing and no external time APIs.
Instructions
Convert a moment between IANA timezones. Uses local date-fns-tz / Intl only — no external time APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Alias for toZone. | |
| from | No | Alias for fromZone. | |
| when | No | ISO time, or 'now'. Naive local times interpreted in fromZone. | |
| toZone | Yes | Target IANA zone. | |
| fromZone | No | Source IANA zone (default UTC). |