ISO formatting of conference dates in conferenceeditor.
authorgregor herrmann <gregoa@debian.org>
Mon, 15 Aug 2011 12:44:19 +0000 (12:44 +0000)
committergregor herrmann <gregoa@debian.org>
Mon, 15 Aug 2011 12:44:19 +0000 (12:44 +0000)
src/gui/conferenceeditor.cpp

index 05a9b12..60a57a4 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();
     }