diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp index dc78ef8af9..080dccfaa4 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp @@ -166,7 +166,7 @@ private: link.usageLimit) : tr::lng_group_invite_no_joined(tr::now); const auto add = [&](const QString &text) { - result += QString::fromUtf8(" \xE2\xB8\xB1 ") + text; + result += QString::fromUtf8(" \xE2\x80\xA2 ") + text; }; if (revoked) { return result; @@ -189,8 +189,7 @@ private: left / 86400)); } else { const auto time = base::unixtime::parse(link.expireDate).time(); - add(time.toString(QLocale::system().dateTimeFormat( - QLocale::LongFormat))); + add(QLocale::system().toString(time, QLocale::LongFormat)); } } return result;