mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0029917: Foundation Classes - OSD_FileNode AccessMoment and CreationMoment return the same date on Windows
fAccess in CreationMoment() function for Windows has been modified from TRUE to FALSE
This commit is contained in:
parent
ae58f70718
commit
04c5a696e4
@ -758,7 +758,7 @@ Quantity_Date OSD_FileNode::CreationMoment () {
|
|||||||
|
|
||||||
TEST_RAISE( "CreationMoment" );
|
TEST_RAISE( "CreationMoment" );
|
||||||
|
|
||||||
if (_get_file_time (fNameW.ToWideString(), &stCreationSystemMoment, TRUE))
|
if (_get_file_time (fNameW.ToWideString(), &stCreationSystemMoment, FALSE))
|
||||||
{
|
{
|
||||||
SYSTEMTIME * aSysTime = &stCreationMoment;
|
SYSTEMTIME * aSysTime = &stCreationMoment;
|
||||||
BOOL aFlag = SystemTimeToTzSpecificLocalTime (NULL,
|
BOOL aFlag = SystemTimeToTzSpecificLocalTime (NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user