time: convert_time gives no warning when a fall-back wall time is ambiguous
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 66/100
Línea de trabajo
Start with src/time/src/mcp_server_time/server.py, where convert_time attaches the time zone to today's date and the given HH:MM; read the existing handling for nonexistent spring-forward times and the prototype in #4781. Check how the implementation can detect a repeated wall time and communicate its ambiguity. Done means fall-back times are no longer presented as a single certain conversion, while ordinary times still work.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
convert_time in src/time/src/mcp_server_time/server.py builds the source time by attaching the time zone to today's date and the given HH:MM, which always uses fold=0. On a DST fall-back day a repeated wall time (01:30 in America/New_York, for example) occurs at two instants, and the tool silently picks the earlier one. v2 already rejects nonexistent spring-forward times.
Expected
When the given time is ambiguous, the result says so, for example with a note or with both conversions, rather than presenting one answer as certain.
Prior work
- #4781 by @Nimra3261
The PR(s) above targeted the pre-refactor code and are closed as part of the backlog triage in #4875; this issue is where the work continues, with the PR(s) as a prototype. Thank you to their authors.
- Lenguaje dominante
- TypeScript
- Estrellas
- 91.6k
- Forks
- 11.9k
- Merge medio
- 4 h 31 min
- PR fusionados (30 d)
- 236
Preparar el entorno
- Sin Dockerfile ni 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 modelcontextprotocol/servers
-
enhancement server-everything v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
modelcontextprotocol/servers#5371 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
chore server-filesystem server-memory server-sequentialthinking v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
modelcontextprotocol/servers#5345 ·
Los mantenedores suelen responder en 1 día
-
docs(git): clarify unconfined default scope and repository confinement options in README and CLIAbiertodocumentation server-git v2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
modelcontextprotocol/servers#5230 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
filesystem: search_files does not expand non-wildcard excludePatterns like directory_tree doesAbiertobug server-filesystem v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
modelcontextprotocol/servers#5216 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
documentation server-git server-time v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
modelcontextprotocol/servers#5213 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de modelcontextprotocol/servers
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
better-auth/better-auth#12132 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hurttlocker/o8#5112 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
webrecorder/wabac.js#386 ·
-
needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
agent-of-empires/agent-of-empires#5098 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día