2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Display dates with the system date format

This commit is contained in:
CoderTimZ
2021-10-06 22:37:42 -07:00
committed by John Preston
parent 041c922451
commit c9e24c2283
14 changed files with 33 additions and 15 deletions

View File

@@ -448,6 +448,7 @@ rpl::producer<QString> Helper::infoLabelValue(
) | rpl::map([](const Support::UserInfo &info) {
const auto time = Ui::FormatDateTime(
base::unixtime::parse(info.date),
cDateFormat(),
cTimeFormat());
return info.author + ", " + time;
});