summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-08-08 03:11:06 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-10 15:08:04 -0700
commit38a2db05c0ecfe88c51cc879ed27dbdd13514596 (patch)
tree8595745f148a4712489c92b1b011d46a18e5b060
parentb5aa6b496fb7b64845ac2e19fd91b4c1aa52df75 (diff)
downloadsubsurface-38a2db05c0ecfe88c51cc879ed27dbdd13514596.tar.gz
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 <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
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;