Description
Documentation of ManagementDateTimeConverter.ToDateTime(String) contains next text:
The returned DateTime will be in the current time zone of the system.
which mean, that DateTime.Kind property should be set to DateTimeKind.Local, but currently value of this property is DateTimeKind.Unspecified.
Version
.NET 8 RC 1
Previous behavior
Currently value of DateTime.Kind property is DateTimeKind.Unspecified
New behavior
Value of DateTime.Kind property should be set to DateTimeKind.Local
Type of breaking change
Reason for change
Code should match documentation
Recommended action
Feature area
Windows Forms
Affected APIs
No response
Associated WorkItem - 166834
Description
Documentation of ManagementDateTimeConverter.ToDateTime(String) contains next text:
which mean, that
DateTime.Kindproperty should be set toDateTimeKind.Local, but currently value of this property isDateTimeKind.Unspecified.Version
.NET 8 RC 1
Previous behavior
Currently value of
DateTime.Kindproperty isDateTimeKind.UnspecifiedNew behavior
Value of
DateTime.Kindproperty should be set toDateTimeKind.LocalType of breaking change
Reason for change
Code should match documentation
Recommended action
Feature area
Windows Forms
Affected APIs
No response
Associated WorkItem - 166834