Changeset 1154 in ntrip for trunk/BNC/bncapp.cpp
- Timestamp:
- Oct 7, 2008, 12:40:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r1044 r1154 180 180 181 181 if (_logStream) { 182 *_logStream << QDateTime::currentDateTime().toUTC().toString("yy-MM-dd hh:mm:ss ").toAscii().data();182 *_logStream << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 183 183 *_logStream << msg.data() << endl; 184 184 _logStream->flush(); … … 276 276 if (!_ephPath.isEmpty()) { 277 277 278 QDateTime datTim = QDateTime::currentDateTime().toUTC();278 QDateTime datTim = currentDateAndTimeGPS(); 279 279 280 280 QString ephFileNameGPS = _ephPath + "BRDC" + … … 356 356 *_ephStreamGPS << line; 357 357 358 QString hlp = QDateTime::currentDateTime().toUTC().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true);358 QString hlp = currentDateAndTimeGPS().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true); 359 359 *_ephStreamGPS << _pgmName.toAscii().data() 360 360 << _userName.toAscii().data() … … 378 378 *_ephStreamGPS << line; 379 379 380 QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);380 QString hlp = currentDateAndTimeGPS().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 381 381 *_ephStreamGPS << _pgmName.toAscii().data() 382 382 << _userName.toAscii().data() … … 395 395 *_ephStreamGlonass << line; 396 396 397 QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);397 QString hlp = currentDateAndTimeGPS().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 398 398 *_ephStreamGlonass << _pgmName.toAscii().data() 399 399 << _userName.toAscii().data()
Note:
See TracChangeset
for help on using the changeset viewer.