mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
b5aa6b496f
commit
38a2db05c0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue