cleanup: remove unused libc-structures from get_trip_date_string()
This must be an artifact from before using Qt's datetime functions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f63485b444
commit
e33e420ef3
@ -989,8 +989,6 @@ extern "C" char *get_current_date()
|
||||
|
||||
QString get_trip_date_string(timestamp_t when, int nr, bool getday)
|
||||
{
|
||||
struct tm tm;
|
||||
utc_mkdate(when, &tm);
|
||||
QDateTime localTime = timestampToDateTime(when);
|
||||
|
||||
QString suffix = " " + gettextFromC::tr("(%n dive(s))", "", nr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user