From 38a2db05c0ecfe88c51cc879ed27dbdd13514596 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Mon, 8 Aug 2016 03:11:06 +0300 Subject: Include full year for trip on divelist Having only the last 2 digits of the year is somewhat confusing as one can easily think that to be the day. Thus it is more clear to use full year for the trip header. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- core/qthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 01351376d..17864c9cd 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -958,7 +958,7 @@ QString get_trip_date_string(timestamp_t when, int nr, bool getday) if (getday) { ret = localTime.date().toString(prefs.date_format) + suffix; } else { - ret = localTime.date().toString("MMM yy") + suffix; + ret = localTime.date().toString("MMM yyyy") + suffix; } return ret; -- cgit v1.2.3-70-g09d2