[bug]: cycle ending on a daylight saving transition day ends on the next day and blocks the following cycle
I maintainer di solito rispondono entro 1 giorno
@vihar ci sta già lavorando.
Dal 15/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
A cycle that ends on the day the clocks go forward is stored as ending at 00:59 on the following day, in the project's timezone.
Two things follow:
- The cycle API returns the next day as
end_date(for example2027-03-15T00:59:00-04:00for a cycle ending 2027-03-14 inAmerica/New_York). cycles/date-check/reports an overlap for a cycle starting the next day, so back-to-back cycles cannot be created across the transition.
On the day the clocks go back, the cycle ends at 22:59 instead of 23:59.
Expected: the cycle ends at 23:59 on the chosen day, and a cycle starting the next day is accepted.
Cause: convert_to_utc in apps/api/plane/utils/timezone_converter.py adds timedelta(hours=23, minutes=59) to local midnight. pytz keeps the midnight UTC offset after that addition, which is wrong when the offset changes during the day.
I have a fix with tests ready and can open a PR.
Steps to reproduce
- Set a project's timezone to
America/New_York(any zone with DST works). - Create a cycle from 2027-03-01 to 2027-03-14. Clocks go forward on 14 March.
- Check a new cycle from 2027-03-15 to 2027-03-28 (POST
cycles/date-check/).
Result: {"status": false, "error": "You have a cycle already on the given dates..."}
Reproduced through the app API with the docker-compose-test.yml test stack on preview at 290383d7.
Environment
Production
Browser
None
Edition
Community
Version
preview branch at 290383d7 (latest tag: v1.5.0-rc2)
- Lingua principale
- TypeScript
- Stelle
- 63k
- Fork
- 6.5k
- Merge medio
- 2g 16h
- PR unite (30g)
- 70
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di makeplane/plane
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
[bug]: Comment external_id is deduplicated per project instead of per work itemForse già presa @MishraTanishq619 l’ha presa 21 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
makeplane/plane#10195 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votesForse già presa @ghazy2001 l’ha presa 29 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
makeplane/plane#10111 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
makeplane/plane#10082 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di makeplane/plane
Issue simili
-
good first issue help wanted
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-webui/open-webui#35184 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
danielmiessler/LifeOS#3001 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno