printer.cpp update time format

This commit is contained in:
Michael Davidsaver
2018-10-30 16:57:01 -07:00
parent 9b20505dcd
commit 7d68d177d7
2 changed files with 13 additions and 13 deletions

View File

@@ -132,8 +132,8 @@ void printTimeTx(std::ostream& strm, const PVStructure& tsubop)
else
epicsTS.secPastEpoch = 0;
epicsTimeToStrftime(timeText, sizeof(timeText), "%Y-%m-%dT%H:%M:%S.%03f", &epicsTS);
strm << timeText << ' ';
epicsTimeToStrftime(timeText, sizeof(timeText), "%Y-%m-%d %H:%M:%S.%03f", &epicsTS);
strm <<std::setw(24) <<std::left <<timeText <<' ';
if (tagf) {
int64 tagv = tagf->getAs<int64>();
if(tagv)