mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
This commit is contained in:
@@ -210,7 +210,7 @@ void BoxController::Row::refreshStatus() {
|
||||
return;
|
||||
}
|
||||
auto text = [this] {
|
||||
auto time = QLocale().toString(ItemDateTime(_items.front()).time(), cTimeFormat());
|
||||
auto time = QLocale().toString(ItemDateTime(_items.front()).time(), QLocale::ShortFormat);
|
||||
auto today = QDateTime::currentDateTime().date();
|
||||
if (_date == today) {
|
||||
return tr::lng_call_box_status_today(tr::now, lt_time, time);
|
||||
|
Reference in New Issue
Block a user