-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Description
When displaying all-day events via gws calendar +agenda, the start date appears to be earlier than the actual event date.
Steps to Reproduce
- Create an all-day event (e.g., March 23, 2026)
- Run:
gws calendar +agenda --days 7 --format table - Observe the start date in output
Expected Behavior
All-day event on March 23 should show:
- start: 2026-03-23
- end: 2026-03-24 (or 2026-03-23)
Actual Behavior
All-day event on March 23 shows:
- start: 2026-03-21
- end: 2026-03-23
Example output:
calendar end start summary
──────── ───────────────────────── ───────────────────────── ────────────────────────
일정 2026-03-23 2026-03-21
일정 2026-03-23 2026-03-21
일정 2026-03-27 2026-03-23
Environment
- gws version: 0.18.1
- OS: macOS 15.2 (arm64)
- Install method: Homebrew
- Timezone: Asia/Seoul (GMT+9)
Additional Context
This issue affects all all-day events. The start date consistently shows 2 days earlier than the actual event date.
Timed events (with specific start/end times like 2026-03-23T18:45:00+09:00) display correctly.
The issue appears to be related to timezone handling for all-day events which use date field instead of dateTime in Google Calendar API response.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels