omi icon indicating copy to clipboard operation
omi copied to clipboard

Reminders fire at wrong time for UTC+5:30 (India) timezone

Open mdmohsin7 opened this issue 7 months ago • 1 comments

Bug

Reminders fire at the wrong time for users in the India timezone (Asia/Kolkata, UTC+5:30). The offset is consistently +5.5 hours, indicating the reminder due time is being interpreted as UTC instead of the user's local timezone before storage.

Steps to reproduce

  1. Set timezone to Asia/Kolkata (UTC+5:30)
  2. Create a reminder via conversation (e.g. "remind me from 5pm to 7:30pm")
  3. Observe the reminder fires at 11pm instead of 5pm

Expected behavior

Reminder fires at the user-specified local time (5pm IST).

Actual behavior

Reminder fires 5.5 hours late (11pm IST), consistent with the UTC+5:30 offset being applied in the wrong direction — local time treated as UTC.

Details

  • Platform: iOS
  • Timezone: Asia/Kolkata (UTC+5:30)
  • Frequency: Every time, not a one-off
  • Likely area: Reminder due time parsing in conversation processing

Customer report

Ticket #215473993413657

mdmohsin7 avatar Apr 27 '26 17:04 mdmohsin7

I am going to do a PR on this, already have the code ready. This will supersede the abandoned #7066 and will be having the prompt output naive local time against a local reference, then converting local->UTC deterministically with ZoneInfo in Python.

ZachL111 avatar Jun 07 '26 22:06 ZachL111