beagle-im
beagle-im copied to clipboard
Relative timestamps incorrect
Describe the bug
The relative timestamp yesterday is calculated incorrectly.
To Reproduce Steps to reproduce the behavior:
- Send a message to a contact in the afternoon (e.g. 15:00 / 3pm) on day X,
- wait until the morning (e.g. 10:00 / 10am) of day X+2,
- see timestamp
yesterdayin chat history.
Expected behavior
The timestamp should show the date the message was sent instead of yesterday.
Desktop:
- OS: macOS 12.6.5
- Version: 5.3.5 (b177)
The whole UI for the conversation log will soon be replaced with SwiftUI-based UI and that will fix this issue as a different date formatter will be used to format the date to display (solving this issue).