Repository navigation
fix(calendar): Schichtzeiten immer mit Minuten - #9
Merged
Merged
Conversation
Ursache (Rückmeldung vom Spiegel): Bei vollen Stunden zeigte der Dienstplan „Donnerstag 11–19“ statt „11:00–19:00“; formatRange ließ die Minuten weg, wenn beide null waren. Lösung: formatRange liefert immer HH:MM–HH:MM, auch über Mitternacht („18:30–07:00“). Beschreibung im Vertrag angepasst. Prüfung: Tabellentest TestFormatRange (volle Stunden, Minuten, Nacht), Gegenprobe mit der alten Kurzform schlägt an; angepasste Erwartungen in Go- und Web-Tests; npm run verify -- --race grün. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BbBgi6nWM5aU7VDrf62V1r
Anlass: Rückmeldung vom Spiegel. Prüfung: Durchsicht. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BbBgi6nWM5aU7VDrf62V1r
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BbBgi6nWM5aU7VDrf62V1r
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.
Rückmeldung vom Spiegel: Der Dienstplan zeigte „Donnerstag 11–19“ statt „Donnerstag 11:00–19:00“.
Ursache
formatRangeinserver/internal/calendar/shifts.gohat die Minuten weggelassen, sobald Beginn und Ende volle Stunden waren.Lösung
HH:MM–HH:MMda, zum Beispiel „11:00–19:00“, „06:30–19:00“ oder über Mitternacht „18:30–07:00“.timeRangeim Vertrag ist angepasst,npm run generatelief danach; geändert hat sich dadurch nur der Kommentar in den erzeugten Dateien.CLAUDE.mdnennt das neue Format.Prüfung
TestFormatRange: volle Stunden, Minuten und Nachtschicht. Die Gegenprobe mit der alten Kurzform schlägt an.npm run verify -- --raceist grün.Nach dem Merge
Warten, bis die CI auf
maingrün ist. Dann in Arcane das Projektmirrorabrufen und neu deployen. Ein Tag ist nicht nötig.Generated by Claude Code