fixup nanosecond precision
This was broken before... Time used to take centiseconds, so the nanoseconds should have been *divided* by 10^7 for conversion. Now Time takes straight nanoseconds, so no conversion necessary. Change-Id: Ibac3eeca7020c5d8c5ff4be3e7617fac26ee8180
This commit is contained in:
@@ -3095,7 +3095,7 @@ RTLFUNC(FileDateTime)
|
||||
oslDateTime aDT;
|
||||
osl_getDateTimeFromTimeValue( &aTimeVal, &aDT );
|
||||
|
||||
aTime = Time( aDT.Hours, aDT.Minutes, aDT.Seconds, 10000000*aDT.NanoSeconds );
|
||||
aTime = Time( aDT.Hours, aDT.Minutes, aDT.Seconds, aDT.NanoSeconds );
|
||||
aDate = Date( aDT.Day, aDT.Month, aDT.Year );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user