Changeset 4231 in ntrip


Ignore:
Timestamp:
May 30, 2012, 9:03:05 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxnavfile.cpp

    r4230 r4231  
    274274  }
    275275
     276  const QString fmtDate = (version() < 3.0) ? "dd-MM-yy hh:mm"
     277                                            : "yyyyMMdd hhmmss UTC";
    276278  *_stream << QString("%1%2%3")
    277279    .arg(app->pgmName(), -20)
    278280    .arg(runBy.trimmed().left(20), -20)
    279     .arg(QDateTime::currentDateTime().toUTC().toString("yyyyMMdd hhmmss UTC"), -20)
     281    .arg(QDateTime::currentDateTime().toUTC().toString(fmtDate), -20)
    280282    .leftJustified(60)
    281283           << "PGM / RUN BY / DATE\n";
Note: See TracChangeset for help on using the changeset viewer.