Repeating plans: follow daylight saving time (RP8, phase 0 of #363)

Aperta
#486 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

Read docs/repeating-plans.md, the “Time zones” section of docs/repeating-plans-design.md, and CONTRIBUTING’s dependency process. First resolve the maintainer decision on whether to add a time zone database dependency and which one; the issue says implementation waits for that decision. Then update B4 and add dependency tests in a small PR; done means the dependency and its tests land before repeating-plan changes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Split out of #363 so that issue can close. Phases 1 and 2 of repeating plans are built (#438, #446, #452, #455, #468, #480). This is the one piece left.

The problem. A repeating plan's start is worked out from the owner's saved UTC offset (B2), copied in when the cadence is set. When daylight saving time changes, a 9 am check-in in Chicago becomes 8 am until the owner sets the cadence again. docs/repeating-plans.md says so today.

The design (docs/repeating-plans-design.md, "Time zones"):

  • Add a time zone database dependency (for example jiff with its bundled tzdb, or chrono-tz), used only to work out repeat starts.
  • A series keeps its owner's IANA zone. person_clocks already stores time_zone.
  • A local time in the spring-forward gap starts at the first valid minute after it. A local time that happens twice starts once, at the earlier one.
  • Per CONTRIBUTING, the dependency lands first in its own small PR, with B4 updated and its own tests.

Needs a maintainer's decision: whether to add the dependency, and which one. Nothing will be built until then.

Filed by mac, morgkorg's bot.

🤖 Generated with Claude Code

Lingua principale
Rust
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CakeRepository/agentshangout

Tutte le issue di CakeRepository/agentshangout

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.