Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046579
en ru br
Репозитории ALT
S:1.3.2-alt3.gitcfac4db8.1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: qtpass

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: qtpass-1.3.2-alt-key_dates.patch
Скачать


Fix created/expires key dates in the users dialog window
--- src/usersdialog.cpp
+++ src/usersdialog.cpp
@@ -150,11 +150,11 @@ void UsersDialog::populateList(const QString &filter) {
         QString userText = user.name + "\n" + user.key_id;
         if (user.created.toSecsSinceEpoch() > 0) {
           userText += " " + tr("created") + " " +
-                      user.created.toString(QLocale::system().toString(QDate::currentDate(), QLocale::ShortFormat));
+                      QLocale::system().toString(user.created, QLocale::ShortFormat);
         }
         if (user.expiry.toSecsSinceEpoch() > 0)
           userText += " " + tr("expires") + " " +
-                      user.expiry.toString(QLocale::system().toString(QDate::currentDate(), QLocale::ShortFormat));
+                      QLocale::system().toString(user.expiry, QLocale::ShortFormat);
         auto *item = new QListWidgetItem(userText, ui->listWidget);
         item->setCheckState(user.enabled ? Qt::Checked : Qt::Unchecked);
         item->setData(Qt::UserRole, QVariant::fromValue(&user));
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin