[bug]: cycle ending on a daylight saving transition day ends on the next day and blocks the following cycle
Los mantenedores suelen responder en 1 día
@vihar ya está trabajando en esto.
Desde el 15/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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)
- Lenguaje dominante
- TypeScript
- Estrellas
- 63k
- Forks
- 6.5k
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 70
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de makeplane/plane
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
[bug]: Comment external_id is deduplicated per project instead of per work itemPosiblemente ocupada @MishraTanishq619 la tomó hace 21 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
makeplane/plane#10195 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votesPosiblemente ocupada @ghazy2001 la tomó hace 29 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
makeplane/plane#10111 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
makeplane/plane#10082 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de makeplane/plane
Issues similares
-
good first issue help wanted
Dificultad 2/5 Menos de una hora Aptitud para principiantes 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
open-webui/open-webui#35184 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
danielmiessler/LifeOS#3001 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día