diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-18 17:48:04 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-18 17:48:04 -0700 |
commit | 8bee7e6172f848bd0ca02177ecd46c0c9acdce1d (patch) | |
tree | 4a18da01ca5239bb4b312aafc906ec428d0f3e4c /core/subsurface-qt/DiveObjectHelper.cpp | |
parent | d74ef972281613499554e35bc1a4dfe4ae07f628 (diff) | |
download | subsurface-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.cpp | 2 |
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 |