Repository navigation
test(#1089): la prueba #796 ya no depende de la hora (00:00–02:00 Bogotá) - #1093
Merged
Merged
Conversation
…hora - #836: «ayer» se calcula con aritmética de fechas; restar 1 al número del día daba 2026-12-00 el día 1 de cada mes. - #796: «hace 2 horas» no sale del día de Bogotá; entre 00:00 y 02:00 caía en el día anterior y el cobro se rechazaba. Closes #1089 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WV8WE5xEREnzTePhVoiKn4
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…bisiesto) Refs #1089 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WV8WE5xEREnzTePhVoiKn4
Owner
Author
Aviso de solape: #836 ya está arreglado en
|
…o con #796 Refs #1089 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WV8WE5xEREnzTePhVoiKn4
…ición equivalente Refs #1089 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WV8WE5xEREnzTePhVoiKn4
This was referenced Dec 1, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1089
Objetivo
Que la prueba de integración #796 deje de fallar entre las 00:00 y las 02:00 de Bogotá, porque deja en rojo el CI de cualquier PR en esa ventana.
Alcance actual
La parte de #836 (el día 1 del mes) ya está arreglada en
mainpor #1096 (yesterdayStringBogota()); esta rama se actualizó conmain, se retiró mi cambio duplicado y el archivo de #836 quedó como enmain. Este PR queda solo con #796.Causa (#796)
El pedido de prueba se creaba «entregado hace 2 horas». Entre las 00:00 y las 02:00 de Bogotá ese instante cae en el día anterior y el cobro «del día» se trata como retroactivo (409).
Cambios
Un solo archivo de prueba, sin código de producto:
cobro-dia-sin-espejo-oficina-796.test.ts, «hace 2 horas» sin salirse del día de Bogotá (max(ahora − 2 h, inicio del día + 1 s)).Validación
main: [Hallazgo] Pedido #1119 (reportado #119): pago parcial del día figura como abono de fiado #796 y [Hallazgo][P1] Programación de entregas, horarios de negocio y agrupación operativa por barrio: casos adversariales y coherencia transversal #836 pasan 13 de 13 en local;tsclimpio.Limitaciones conocidas
pagar-fiado.Checklist de entrega
Closes #1089).https://claude.ai/code/session_01WV8WE5xEREnzTePhVoiKn4
Generated by Claude Code