QML UI: use the short date format
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d74ef97228
commit
8bee7e6172
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user