mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Display dates with the system date format
This commit is contained in:
@@ -1078,7 +1078,7 @@ std::optional<QString> RestrictionError(
|
||||
auto restrictedUntil = channel->restrictedUntil();
|
||||
if (restrictedUntil > 0 && !ChannelData::IsRestrictedForever(restrictedUntil)) {
|
||||
auto restrictedUntilDateTime = base::unixtime::parse(channel->restrictedUntil());
|
||||
auto date = restrictedUntilDateTime.toString(qsl("dd.MM.yy"));
|
||||
auto date = restrictedUntilDateTime.toString(cDateFormat());
|
||||
auto time = restrictedUntilDateTime.toString(cTimeFormat());
|
||||
|
||||
switch (restriction) {
|
||||
|
Reference in New Issue
Block a user