lib/rdsound_panel.cpp MySQL v5.7+ Date Changes

Usual checks.  Line 1493 and 1537 is not required as they are derived from
current system datetime as per lines 1466 and 1526 respectively.
This commit is contained in:
Wayne Merricks 2016-06-04 19:42:20 +01:00
parent 1e37f6bbdc
commit 69ea83d570

View File

@ -1491,7 +1491,7 @@ void RDSoundPanel::LogTraffic(RDPanelButton *button)
QString().sprintf("CART_NUMBER=%u,",button->cart())+
"STATION_NAME=\""+RDEscapeString(panel_station->name().utf8())+"\","+
"EVENT_DATETIME=\""+datetime.toString("yyyy-MM-dd")+" "+
button->startTime().toString("hh:mm:ss")+"\","+
RDCheckDateTime(button->startTime(),"hh:mm:ss")+"\","+
QString().sprintf("EVENT_TYPE=%d,",RDAirPlayConf::TrafficStop)+
QString().sprintf("EVENT_SOURCE=%d,",RDLogLine::SoundPanel)+
QString().sprintf("PLAY_SOURCE=%d,",RDLogLine::SoundPanel)+