From: gregor herrmann Date: Mon, 15 Aug 2011 12:44:19 +0000 (+0000) Subject: ISO formatting of conference dates in conferenceeditor. X-Git-Tag: 0.5.3~5 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/3a6ca6045d4ca94463ed8e09fdb9798dfbef8b21 ISO formatting of conference dates in conferenceeditor. --- diff --git a/src/gui/conferenceeditor.cpp b/src/gui/conferenceeditor.cpp index 05a9b12..60a57a4 100644 --- a/src/gui/conferenceeditor.cpp +++ b/src/gui/conferenceeditor.cpp @@ -91,9 +91,9 @@ void ConferenceEditor::itemSelected(const QModelIndex& current, const QModelInde conferenceSubtitle->setText(conf.subtitle()); conferenceWhere->setText(conf.city() + ", " + conf.venue()); conferenceWhen->setText( - conf.start().toString("dd-MM-yyyy") + conf.start().toString("yyyy-MM-dd") + " - " + - conf.end().toString("dd-MM-yyyy")); + conf.end().toString("yyyy-MM-dd")); conferenceInfo->setCurrentIndex(0); removeBtn->show(); }