Repository navigation
fix: include entries starting at "from"; check the client in add-project - #358
Merged
Merged
Conversation
- Timer list, reports, dashboard and timelines left out entries that start exactly at the "from" bound (e.g. a manual entry at 00:00 of the first day): the range is now [from, to). - add-project accepted any client ID, so a project could be linked to a client of another user. It now checks it like edit-project (404). - Move the doc comment of userTimeZone() back to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Martin-1997
added a commit
that referenced
this pull request
Nov 22, 2026
Merged
Martin-1997
added a commit
that referenced
this pull request
Nov 22, 2026
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.
Two small fixes for 1.0.3, found while reviewing the release:
WorkIntervalMapper::findLatestIntervalandReportItemMapperfiltered withstart > from, so an entry starting exactly at "from" was left out of the Timer list, Reports, Dashboard and Timelines. Since fix: include the whole "to" day in dashboard, reports and timelines #352 every range starts at 00:00, and manual entries are saved to the minute, so a manual entry at 00:00 of the first day was dropped. The range is nowfrom <= start < to.userTimeZone()was separated from its method in Timelines and reports: period and dates in the browser's time zone (#323) #354.Tests: new
RangeStartAndProjectClientTest. Two existing mapper tests recorded the old bound and now expectfromto be included. Integration suite (50 tests), phpstan and lint pass.🤖 Generated with Claude Code