mono / mono.posix

POSIX/Unix interface for Mono, .NET and .NET Core. Provides functionality for managed code to access POSIX/Unix features not accessible via the BCL. This repository supersedes the older code in https://github.com/mono/mono
MIT License
42 stars 10 forks source link

Fix NativeConvert.ToDateTime with nanoseconds #23

Closed akoeplinger closed 2 years ago

akoeplinger commented 2 years ago

It was dividing nanoseconds by 1000 instead of 1000000 to convert to milliseconds.

Fixes https://github.com/mono/mono.posix/issues/21