Listoca

Due dates and reminders

Calendar days, reminders the device schedules itself, My Day.

A due date is a calendar day on the task (due_on), shared by everyone on the list, with no time zone. A reminder is a moment on my mark (remind_at): mine alone.

Reminders on the device

The server sends no reminders: apps/native/src/lib/reminders.ts keeps the device's scheduled notifications equal to the marks. It runs on every change to the marks (a live query, so a reminder set on another device and synced here rings here too), on every return to the app, and when the setting changes. It schedules the 60 soonest (iOS keeps 64), each with its moment in its data, so an unchanged one survives a restart.

Permission is asked the first time a reminder or the daily nudge is set, after the app's own sentence. Declined, the reminder stays and the task sheet says notifications are off.

My Day

A task is in My Day when my mark's my_day_on is today on this device. Nothing runs at midnight. With "Carry unfinished tasks to My Day", the first launch of a new day moves yesterday's open ones to today (carryMyDay).

Dates

packages/lists/src/dates.ts takes the current time and time zone, so its tests fix both: due labels, the quick choices ("Later today" three hours ahead, not after 21:00; tomorrow and next week at 9:00), the week start by region, and the moment of a wall-clock time across daylight saving changes.

On this page