Skip to content

feat(icsExport): add IANA timezone support for calendar events - #725

Closed
rupesh-kumar-sah wants to merge 1 commit into
Stellar-split:mainfrom
rupesh-kumar-sah:feat/issue-703-ics-export-iana-timezone
Closed

rupesh-kumar-sah wants to merge 1 commit into
Stellar-split:mainfrom
rupesh-kumar-sah:feat/issue-703-ics-export-iana-timezone

Conversation

@rupesh-kumar-sah

Copy link
Copy Markdown

Summary of Changes

Resolves #703

This PR adds IANA timezone support to icsExport:

  1. Timezone Parameter & Options Support:
    • generateICS accepts an optional timezone string (or ICSOptions object with timezone and dtstamp).
  2. VTIMEZONE Component & DTSTART;TZID:
    • When a timezone (e.g. "America/New_York") is supplied, a standard RFC 5545 VTIMEZONE component is generated with computed offset and timezone name.
    • Event DTSTART is formatted as DTSTART;TZID=<timezone>:<localDateTime>.
  3. UTC Fallback:
    • When timezone is omitted, the exporter cleanly falls back to UTC / DTSTART;VALUE=DATE (preserving existing behavior).
  4. Verification:
    • Unit tests added for timezone support via parameter and options object, as well as UTC fallback.
    • 10/10 tests pass, tsc --noEmit clean.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

@rupesh-kumar-sah is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

icsExport: Add IANA timezone support for calendar events

2 participants