Toolpal

@toolpal/meeting-planner

public

v2.0published 1 download this weekMIT

Finds meeting times across cities and time zones, with daylight saving time handled exactly. Lists the windows on a given day when everyone is within working hours (or, if there are none, the windows that suit the most people), and converts a proposed time into every participant's local time. Offline, no API key needed.

README.md1.2 KBRaw
# @toolpal/meeting-planner

Finds meeting windows across cities and IANA time zones with exact daylight saving time (DST) handling — completely offline, with no API key required.

## How it works

1. Resolves major city names (e.g. `San Francisco`, `London`, `Bengaluru`, `Tokyo`), common abbreviations (`UTC`, `IST`, `ET`, `PT`), and full IANA zone IDs (`America/New_York`, `Europe/Paris`).
2. Scans the chosen date in 15-minute increments using each zone's actual UTC offset on that date (including DST transitions).
3. Returns every window where all participants are within working hours, or — if no full overlap exists — the distinct windows that suit the largest subset of participants.
4. Optionally converts a proposed `HH:MM` time in the first zone into every participant's local wall-clock time and notes whether it falls inside working hours.

## Example

```json
{
  "zones": ["San Francisco", "London", "Bengaluru"],
  "date": "2026-11-24",
  "time": "09:00"
}
```

## Notes

- Pure compute: zero network access, zero file access, zero environment variables.
- Default working hours are `09:00–18:00` Monday–Friday (configurable via `workdayStart`, `workdayEnd`, and `includeWeekends`).