Comment 103 for bug 1530670

Revision history for this message
Xanax (4004uw) wrote :

My mod: in igotupoints.cpp. (this works with old .raw files also in range 2008 to 2015) Do mod, compile, install.
And sorry for my bad English.

    if ( ((date >> 20) & 0xf) < 8)
    {
        return QDateTime
            (QDate(2016 + ((date >> 20) & 0xf), (date >> 16) & 0xf,
                   (date >> 11) & 0x1f),
             QTime((date >> 6) & 0x1f, date & 0x3f, sec / 1000, sec % 1000),
             Qt::UTC);
    }
    else
    {
    return QDateTime
        (QDate(2000 + ((date >> 20) & 0xf), (date >> 16) & 0xf,
               (date >> 11) & 0x1f),
         QTime((date >> 6) & 0x1f, date & 0x3f, sec / 1000, sec % 1000),
         Qt::UTC);
    }