We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In BclStorageItem.cs the implementation of LastModifed seems to be wrong:
if (fileSystemInfo.Exists) { return new StorageItemProperties( fileSystemInfo is FileInfo fileInfo ? (ulong)fileInfo.Length : 0, fileSystemInfo.CreationTimeUtc, fileSystemInfo.LastAccessTimeUtc); }
DateModified in StorageItemProperties implies modification time ,not last access time, i guess LastWriteTimeUtc should be used.
None
No response
11.2.3
The text was updated successfully, but these errors were encountered:
Good find. Yes, it should be LastWriteTimeUtc. And it seems this property is supported on Unix platforms too.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In BclStorageItem.cs the implementation of LastModifed seems to be wrong:
DateModified in StorageItemProperties implies modification time ,not last access time, i guess LastWriteTimeUtc should be used.
To Reproduce
None
Expected behavior
No response
Avalonia version
11.2.3
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: