Changeset 566 in ntrip for trunk/BNC/bncapp.cpp
- Timestamp:
- Nov 7, 2007, 8:57:44 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/BNC/bncapp.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r565 r566 147 147 148 148 if (_logStream) { 149 *_logStream << QDate::currentDate().toString("yy-MM-dd ").toAscii().data(); 150 *_logStream << QTime::currentTime().toString("hh:mm:ss ").toAscii().data(); 149 *_logStream << QDateTime::currentDateTime().toUTC().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 151 150 *_logStream << msg.data() << endl; 152 151 _logStream->flush(); … … 238 237 if (!_ephPath.isEmpty()) { 239 238 240 QDateTime datTim = QDateTime::currentDateTime(); 239 QDateTime datTim = QDateTime::currentDateTime().toUTC(); 241 240 242 241 QString hlp = (_rinexVers == 3) ? "MIX_" : "GPS_"; … … 327 326 *_ephStreamGPS << line; 328 327 329 QString hlp = QDateTime::currentDateTime().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true); 328 QString hlp = QDateTime::currentDateTime().toUTC().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true); 330 329 *_ephStreamGPS << _pgmName.toAscii().data() 331 330 << _userName.toAscii().data() … … 349 348 *_ephStreamGPS << line; 350 349 351 QString hlp = QDate::currentDate().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 350 QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 352 351 *_ephStreamGPS << _pgmName.toAscii().data() 353 352 << _userName.toAscii().data() … … 366 365 *_ephStreamGlonass << line; 367 366 368 QString hlp = QDate::currentDate().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 367 QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 369 368 *_ephStreamGlonass << _pgmName.toAscii().data() 370 369 << _userName.toAscii().data()
Note:
See TracChangeset
for help on using the changeset viewer.
