Changeset 921 in ntrip
- Timestamp:
- May 18, 2008, 11:00:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnsutils.cpp
r884 r921 58 58 time = time.addMSecs( int( (GPSWeeks - 86400 * weekDays) * 1e3 ) ); 59 59 60 return QDateTime(date,time );60 return QDateTime(date,time,Qt::UTC); 61 61 } 62 62 … … 66 66 int& GPSWeek, double& GPSWeeks) { 67 67 68 static const QDateTime zeroEpoch(QDate(1980, 1, 6) );68 static const QDateTime zeroEpoch(QDate(1980, 1, 6),QTime(),Qt::UTC); 69 69 70 70 GPSWeek = zeroEpoch.daysTo(dateTime) / 7;
Note:
See TracChangeset
for help on using the changeset viewer.