aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-18 17:48:04 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-18 17:48:04 -0700
commit8bee7e6172f848bd0ca02177ecd46c0c9acdce1d (patch)
tree4a18da01ca5239bb4b312aafc906ec428d0f3e4c /core/subsurface-qt/DiveObjectHelper.cpp
parentd74ef972281613499554e35bc1a4dfe4ae07f628 (diff)
downloadsubsurface-8bee7e6172f848bd0ca02177ecd46c0c9acdce1d.tar.gz
QML UI: use the short date format
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp
index 9107223f4..2e6d8707b 100644
--- a/core/subsurface-qt/DiveObjectHelper.cpp
+++ b/core/subsurface-qt/DiveObjectHelper.cpp
@@ -85,7 +85,7 @@ QString DiveObjectHelper::date() const
{
QDateTime localTime = QDateTime::fromMSecsSinceEpoch(1000*m_dive->when, Qt::UTC);
localTime.setTimeSpec(Qt::UTC);
- return localTime.date().toString(prefs.date_format);
+ return localTime.date().toString(prefs.date_format_short);
}
timestamp_t DiveObjectHelper::timestamp() const