From 3367fb8af5759085b7f7a158b35fe040a2e71dc3 Mon Sep 17 00:00:00 2001 From: ronso0 Date: Mon, 4 Jul 2022 21:42:35 +0200 Subject: [PATCH] Track Properties: show 'date added' as local time --- src/library/dlgtrackinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library/dlgtrackinfo.cpp b/src/library/dlgtrackinfo.cpp index b885945e4e0..22d25a4f454 100644 --- a/src/library/dlgtrackinfo.cpp +++ b/src/library/dlgtrackinfo.cpp @@ -247,7 +247,8 @@ void DlgTrackInfo::populateFields(const Track& track) { // Non-editable fields txtDuration->setText(track.getDurationText(mixxx::Duration::Precision::SECONDS)); - txtDateAdded->setText(mixxx::displayLocalDateTime(track.getDateAdded())); + txtDateAdded->setText(mixxx::displayLocalDateTime( + mixxx::localDateTimeFromUtc(track.getDateAdded()))); txtLocation->setText(QDir::toNativeSeparators(track.getLocation())); txtType->setText(track.getType()); txtBitrate->setText(