This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit bd4ea00e72a3385c3f00a6246956e809c2841908 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun Nov 28 05:00:37 2021 +0100 src/onmainwindow.cpp: convert server-reported time to human readable time in Qt's standard format in session list view. --- debian/changelog | 2 ++ src/onmainwindow.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ceb63e0..ec6f587 100644 --- a/debian/changelog +++ b/debian/changelog @@ -112,6 +112,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium returned by the server was changed to an ISO-date-formatted one in 2011, but that change was not carried over to the client. We've had silly dates for more than 10 years and nobody noticed. Go figure. + - src/onmainwindow.cpp: convert server-reported time to human readable + time in Qt's standard format in session list view. * debian/control: + Move to debian/control.in. * debian/control.in: diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp index 2a7b2a2..bf6bc26 100644 --- a/src/onmainwindow.cpp +++ b/src/onmainwindow.cpp @@ -5094,7 +5094,8 @@ void ONMainWindow::selectSession ( QStringList& sessions ) item= new QStandardItem ( type ); model->setItem ( row,S_TYPE,item ); - item= new QStandardItem ( s.crTime ); + QString formatted_time = QDateTime::fromString (s.crTime, Qt::ISODate).toString (); + item = new QStandardItem (formatted_time); model->setItem ( row,S_CRTIME,item ); item= new QStandardItem ( s.server ); model->setItem ( row,S_SERVER,item ); -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git