You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong time calculation when startTime after endTime (manual edit) #79
with #82 it is no longer possible to create Dates with negative duration. #80 will not be merged for now. It is still necessary to unify the use of DateFormatter and Duration. It should not be obfuscating the existence of negative durations, because this could lead to missunderstandings and hampers the ability to spot Problems.
Therefore it should be formatted to show the negative Time everywhere correctly if somehow a negative Time gets created, or in future it is necessary to support negative work times.
I also noticed that "absolute time" is calculated wrongly when there are overlapping times.
if I have two work items and edit them to start and stop at 14-15 o'clock.
Expected: Absolute time 1 hours
Actual: Absolute time 2 hours
It can also be discussed on what is expected behavior here. As if both items would be "work" we would have absolute time 1h and work time displayed as 2 h - which is also confusing
Activity
#79: using DateFormatter logic now also to calculate overall project …
#79: using DateFormatter.getSecondsBetween now at all places were sec…
#79: disabling save button now when input is not valid
#79: fixed sonar issue
#79: made time comparison easier to read
Merge pull request #82 from doubleSlashde/bugfix/#79_preventNegativeW…
JSchraff commentedon Apr 14, 2021
with #82 it is no longer possible to create Dates with negative duration. #80 will not be merged for now. It is still necessary to unify the use of DateFormatter and Duration. It should not be obfuscating the existence of negative durations, because this could lead to missunderstandings and hampers the ability to spot Problems.
Therefore it should be formatted to show the negative Time everywhere correctly if somehow a negative Time gets created, or in future it is necessary to support negative work times.
Set up CI with Azure Pipelines (bugfix/doubleSlashde#79)
Death111 commentedon Jul 11, 2023
I also noticed that "absolute time" is calculated wrongly when there are overlapping times.
It can also be discussed on what is expected behavior here. As if both items would be "work" we would have absolute time 1h and work time displayed as 2 h - which is also confusing