diff options
author | Giorgio Marzano <marzano.giorgio@gmail.com> | 2015-10-06 21:08:27 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-18 17:37:49 -0700 |
commit | 45b1d0d73db6e2116c6de7113feed381dcc5875f (patch) | |
tree | be00cdcb864e2060192e68c46e7d8d37d9e0805a /helpers.h | |
parent | 5d1703cf2c7ebc65ee29e99e40e1c45c4fc1e4ed (diff) | |
download | subsurface-45b1d0d73db6e2116c6de7113feed381dcc5875f.tar.gz |
Display day number in trips longer than 1 day
Signed-off-by: Giorgio Marzano <marzano.giorgio@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r-- | helpers.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,7 +36,8 @@ int parseTemperatureToMkelvin(const QString &text); QString get_dive_duration_string(timestamp_t when, QString hourText, QString minutesText); QString get_dive_date_string(timestamp_t when); QString get_short_dive_date_string(timestamp_t when); -QString get_trip_date_string(timestamp_t when, int nr); +bool is_same_day (timestamp_t trip_when, timestamp_t dive_when); +QString get_trip_date_string(timestamp_t when, int nr, bool getday); QString uiLanguage(QLocale *callerLoc); QLocale getLocale(); QString getDateFormat(); |