mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -989,8 +989,6 @@ extern "C" char *get_current_date()
|
||||||
|
|
||||||
QString get_trip_date_string(timestamp_t when, int nr, bool getday)
|
QString get_trip_date_string(timestamp_t when, int nr, bool getday)
|
||||||
{
|
{
|
||||||
struct tm tm;
|
|
||||||
utc_mkdate(when, &tm);
|
|
||||||
QDateTime localTime = timestampToDateTime(when);
|
QDateTime localTime = timestampToDateTime(when);
|
||||||
|
|
||||||
QString suffix = " " + gettextFromC::tr("(%n dive(s))", "", nr);
|
QString suffix = " " + gettextFromC::tr("(%n dive(s))", "", nr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue