]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/conferenceeditor.cpp
ISO formatting of conference dates in conferenceeditor.
[toast/confclerk.git] / src / gui / conferenceeditor.cpp
index 05a9b12d83e0d1436c73ab64916866eab0a222e5..60a57a46582d87dcb9d137255fef4f174fad7e5f 100644 (file)
@@ -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();
     }