[ADD] fix for #88, tests for consistency #89
Merged
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.
das konfliktet mit #81, kannst Du also nicht gleichzeitig testen ohne die Konflikte lokal aufzulösen (ich rebase dann wenn eins davon gemerged ist).
Findest Du es auch akzeptabel dass die Überstunden fur die ganze Arbeitszeit am Beginntag anfallen? Ansonsten muss ich die Zeit auf die Tage verteilen, das erhöht die Komplexität (aber möglich natürlich).
Der test case ist ohnehin interessant, es beginnt am Sonntag und geht in den Montag rein. Da finde ich es selbst logisch dass das als Sontagsarbeit gilt (mit entsprechendem Multiplikator falls eingestellt), und nicht die Zeit in der Nacht zum Montag nach 00:00 als frühe Montagsarbeit gezahlt wird. Da hat das Arbeitsrecht doch sicher eine Meinung zu?