UTC in the main window should use the NTP time offset

This commit is contained in:
Dan Paulat 2025-08-22 22:29:25 -05:00
parent c76c9b57ed
commit 719142ca12
3 changed files with 45 additions and 9 deletions

View file

@ -1300,8 +1300,8 @@ void MainWindowImpl::ConnectOtherSignals()
this,
[this]()
{
timeLabel_->setText(QString::fromStdString(
util::TimeString(std::chrono::system_clock::now())));
timeLabel_->setText(
QString::fromStdString(util::TimeString(util::time::now())));
timeLabel_->setVisible(true);
});
clockTimer_.start(1000);