VirtualBox

Changeset 72150 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 7, 2018 3:57:55 PM (7 years ago)
Author:
vboxsync
Message:

IPRT/time: fix condition for converting time to UTC in RTTimeImplode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/time.cpp

    r72144 r72150  
    418418
    419419    RTTIME TimeUTC;
    420     if ((pTime->fFlags & RTTIME_FLAGS_TYPE_MASK) != RTTIME_FLAGS_TYPE_UTC)
     420    if ((pTime->fFlags & RTTIME_FLAGS_TYPE_MASK) == RTTIME_FLAGS_TYPE_LOCAL)
    421421    {
    422422        TimeUTC = *pTime;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette