mirror of
https://github.com/d99kris/nmail.git
synced 2026-04-26 09:46:01 +03:00
[GH-ISSUE #5] message list showing short timestamp in long-running sessions #4
Labels
No labels
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nmail#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @d99kris on GitHub (Oct 29, 2019).
Original GitHub issue: https://github.com/d99kris/nmail/issues/5
Originally assigned to: @d99kris on GitHub.
For long-running sessions over more than one day, nmail is still showing the original timestamp which may be in short-form (e.g. "14:35") even if the email is from previous date.
The reason is that m_ShortDate is cached at Header level, and the cache does not get invalidated when it's a new date.
Can consider not caching short date at all, or to cache it on UI side instead so it can be cleared when date changes (could add timer checks on date).