Changeset 1154 in ntrip for trunk/BNC/bncrinex.cpp
- Timestamp:
- Oct 7, 2008, 12:40:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r1044 r1154 236 236 // -------------------- 237 237 else { 238 QDate currDate = QDateTime::currentDateTime().toUTC().date();238 QDate currDate = currentDateAndTimeGPS().date(); 239 239 if ( !_skeletonDate.isValid() || _skeletonDate != currDate ) { 240 240 if ( downloadSkeleton() == success) { … … 399 399 if (line.indexOf("PGM / RUN BY / DATE") != -1) { 400 400 if (_rinexVers == 3) { 401 QString hlp = QDateTime::currentDateTime().toUTC().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true);401 QString hlp = currentDateAndTimeGPS().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true); 402 402 _out << _pgmName.toAscii().data() << _userName.toAscii().data() 403 403 << hlp.toAscii().data() << "PGM / RUN BY / DATE" << endl; 404 404 } 405 405 else { 406 QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);406 QString hlp = currentDateAndTimeGPS().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 407 407 _out << _pgmName.toAscii().data() << _userName.toAscii().data() 408 408 << hlp.toAscii().data() << "PGM / RUN BY / DATE" << endl; … … 453 453 if (_rinexVers == 3) { 454 454 _out << " 3.00 OBSERVATION DATA M (MIXED) RINEX VERSION / TYPE" << endl; 455 QString hlp = QDateTime::currentDateTime().toUTC().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true);455 QString hlp = currentDateAndTimeGPS().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true); 456 456 _out << _pgmName.toAscii().data() << _userName.toAscii().data() 457 457 << hlp.toAscii().data() << "PGM / RUN BY / DATE" << endl; … … 459 459 else { 460 460 _out << " 2.11 OBSERVATION DATA M (MIXED) RINEX VERSION / TYPE" << endl; 461 QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);461 QString hlp = currentDateAndTimeGPS().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true); 462 462 _out << _pgmName.toAscii().data() << _userName.toAscii().data() 463 463 << hlp.toAscii().data() << "PGM / RUN BY / DATE" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.