mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
feat: display seconds for reactions
This commit is contained in:
parent
27f4f73690
commit
40e1f307a7
2 changed files with 4 additions and 4 deletions
|
@ -656,12 +656,12 @@ QString FormatReadDate(TimeId date, const QDateTime &now) {
|
|||
return tr::lng_mediaview_today(
|
||||
tr::now,
|
||||
lt_time,
|
||||
QLocale().toString(parsed.time(), QLocale::ShortFormat));
|
||||
QLocale().toString(parsed.time(), "HH:mm:ss"));
|
||||
} else if (readDate.addDays(1) == nowDate) {
|
||||
return tr::lng_mediaview_yesterday(
|
||||
tr::now,
|
||||
lt_time,
|
||||
QLocale().toString(parsed.time(), QLocale::ShortFormat));
|
||||
QLocale().toString(parsed.time(), "HH:mm:ss"));
|
||||
}
|
||||
return tr::lng_mediaview_date_time(
|
||||
tr::now,
|
||||
|
@ -673,7 +673,7 @@ QString FormatReadDate(TimeId date, const QDateTime &now) {
|
|||
lt_day,
|
||||
QString::number(readDate.day())),
|
||||
lt_time,
|
||||
QLocale().toString(parsed.time(), QLocale::ShortFormat));
|
||||
QLocale().toString(parsed.time(), "HH:mm:ss"));
|
||||
}
|
||||
|
||||
bool WhoReadExists(not_null<HistoryItem*> item) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit cc4d93a209031dcc8cb43486e985461945f8bb87
|
||||
Subproject commit 7c3c03c878baa5d84aa6603593bc5618500f38f9
|
Loading…
Add table
Reference in a new issue