mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
uniformed date format in Broadcast FM Demod
This commit is contained in:
parent
1c952d3b0e
commit
8dca2d7b28
@ -671,8 +671,8 @@ void BFMDemodGUI::rdsUpdate(bool force)
|
||||
{
|
||||
ui->g04Label->setStyleSheet("QLabel { background-color : green; }");
|
||||
ui->g04CountText->setNum((int) m_bfmDemod->getRDSParser().m_g4_count);
|
||||
std::string time = str(boost::format("%02i.%02i.%4i, %02i:%02i (%+.1fh)")\
|
||||
% m_bfmDemod->getRDSParser().m_g4_day % m_bfmDemod->getRDSParser().m_g4_month % (1900 + m_bfmDemod->getRDSParser().m_g4_year) % m_bfmDemod->getRDSParser().m_g4_hours % m_bfmDemod->getRDSParser().m_g4_minutes % m_bfmDemod->getRDSParser().m_g4_local_time_offset);
|
||||
std::string time = str(boost::format("%4i-%02i-%02i %02i:%02i (%+.1fh)")\
|
||||
% (1900 + m_bfmDemod->getRDSParser().m_g4_year) % m_bfmDemod->getRDSParser().m_g4_month % m_bfmDemod->getRDSParser().m_g4_day % m_bfmDemod->getRDSParser().m_g4_hours % m_bfmDemod->getRDSParser().m_g4_minutes % m_bfmDemod->getRDSParser().m_g4_local_time_offset);
|
||||
ui->g04Time->setText(QString(time.c_str()));
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user