Fix day rollover bug in reminder time parsing

t-296·WorkTask·
·
·
·Omni/Agent/Telegram/Reminders.hs
Created1 month ago·Updated1 month ago

Dependencies

Description

Edit

The addHours/addMinutes functions in parseRelativeTime don't handle day rollover. When adding hours/minutes that cross midnight, the resulting time has the wrong date (same day instead of next day). Example: 'in 3 hours' at 11pm incorrectly schedules for 2am of the current day instead of the next day.

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago