beagle-im icon indicating copy to clipboard operation
beagle-im copied to clipboard

Relative timestamps incorrect

Open sideeffect42 opened this issue 2 years ago • 1 comments

Describe the bug The relative timestamp yesterday is calculated incorrectly.

To Reproduce Steps to reproduce the behavior:

  1. Send a message to a contact in the afternoon (e.g. 15:00 / 3pm) on day X,
  2. wait until the morning (e.g. 10:00 / 10am) of day X+2,
  3. see timestamp yesterday in 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)

sideeffect42 avatar May 10 '23 07:05 sideeffect42

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).

hantu85 avatar May 10 '23 10:05 hantu85