Changeset 921 in ntrip


Ignore:
Timestamp:
May 18, 2008, 11:00:15 AM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsutils.cpp

    r884 r921  
    5858  time = time.addMSecs( int( (GPSWeeks - 86400 * weekDays) * 1e3 ) );
    5959
    60   return QDateTime(date,time);
     60  return QDateTime(date,time,Qt::UTC);
    6161}
    6262
     
    6666                            int& GPSWeek, double& GPSWeeks) {
    6767
    68   static const QDateTime zeroEpoch(QDate(1980, 1, 6));
     68  static const QDateTime zeroEpoch(QDate(1980, 1, 6),QTime(),Qt::UTC);
    6969 
    7070  GPSWeek = zeroEpoch.daysTo(dateTime) / 7;
Note: See TracChangeset for help on using the changeset viewer.