jansorg / tom-ui

Qt5-based user interface for the tom time tracker
https://www.tomtime.dev
GNU General Public License v3.0
8 stars 2 forks source link

Fix that sorting entries by end time lists the current entry at the wrong end #131

Closed tanius closed 2 years ago

tanius commented 3 years ago

In a list of time tracking entries that includes a currently active entry (that is, one without an end time), sorting by end time will show this entry before the oldest entry in the list and not after the most recent entry as one would expect. The expectation comes from the fact that the end time can only be later than the current wall clock time, given that this entry is currently tracking time and, if stopped, would use the current wall clock time as its end time.

jansorg commented 2 years ago

Fixed for the next update