summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-20 13:58:04 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-20 14:06:05 -0800
commit3116bc06fb0466e7c38b2ce6c8f0099f091435c2 (patch)
treee70c50f631a6aa3d90ac3bf8802c09f8036fa4eb /qt-mobile/qml/DiveDetails.qml
parent60e0a6e833982522e4f59361cc0349f5935b4d4d (diff)
downloadsubsurface-3116bc06fb0466e7c38b2ce6c8f0099f091435c2.tar.gz
QML UI: show date and time for dive
We keep losing the time when people move code around. date really is just the date and doesn't include the time component. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index 1dba8365b..0ac9dc68f 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -24,7 +24,7 @@ MobileComponents.Page {
diveListView.currentIndex = diveListView.indexAt(diveListView.contentX+1, 1);
detailsEdit.dive_id = diveListView.currentItem.modelData.dive.id
detailsEdit.number = diveListView.currentItem.modelData.dive.number
- detailsEdit.dateText = diveListView.currentItem.modelData.dive.date
+ detailsEdit.dateText = diveListView.currentItem.modelData.dive.date + " " + diveListView.currentItem.modelData.dive.time
detailsEdit.locationText = diveListView.currentItem.modelData.dive.location
detailsEdit.durationText = diveListView.currentItem.modelData.dive.duration
detailsEdit.depthText = diveListView.currentItem.modelData.dive.depth