mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-23 23:44:47 +00:00
ConversationSelector: Display time "Yesterday" after date change
This commit is contained in:
parent
5a4e509359
commit
e455a22993
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ public class ConversationRow : ListBoxRow {
|
|||
return datetime.format(_("%b %d"));
|
||||
} else if (timespan > 2 * TimeSpan.DAY) {
|
||||
return datetime.format("%a");
|
||||
} else if (timespan > 1 * TimeSpan.DAY) {
|
||||
} else if (datetime.get_day_of_month() != now.get_day_of_month()) {
|
||||
return _("Yesterday");
|
||||
} else if (timespan > 9 * TimeSpan.MINUTE) {
|
||||
return datetime.format(Util.is_24h_format() ?
|
||||
|
|
Loading…
Reference in a new issue