ChronoGate
v0.1.0Timezone and business-day truth for agents: now, DST-safe convert, relative dates, holidays.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
now Now in timezone
Current instant plus wall-clock time in an IANA timezone (e.g. America/Chicago). Includes offset and DST flag.
| Parameter | Type | Description |
|---|---|---|
tz | string | IANA timezone, default UTC |
convert Convert between timezones
Convert an ISO-8601 instant (or naive local with from=) between IANA zones, handling DST.
| Parameter | Type | Description |
|---|---|---|
iso * | string | ISO-8601 datetime |
from | string | Source IANA zone if iso is naive |
to | string | Target IANA zone (default UTC) |
resolve_expression Resolve relative time expression
Resolve expressions like "next Tuesday 3pm", "tomorrow 9am", or "in 2 business days" in a timezone.
| Parameter | Type | Description |
|---|---|---|
expr * | string | |
tz * | string | IANA timezone |
country | string | ISO country for business-day exprs (default US) |
is_business_day Is business day
Whether a YYYY-MM-DD date is a business day in a country (weekend + Nager.Date public holidays).
| Parameter | Type | Description |
|---|---|---|
date * | string | YYYY-MM-DD |
country | string | ISO 3166-1 alpha-2, default US |
add_business_days Add business days
Add N business days to a start date, skipping weekends and public holidays.
| Parameter | Type | Description |
|---|---|---|
days * | integer | Non-negative integer |
start * | string | YYYY-MM-DD |
country | string | ISO 3166-1 alpha-2, default US |