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:
@@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user