Merge branch 'feature/#37076024-well-operation-service' of http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer into feature/#37076024-well-operation-service

This commit is contained in:
Olga Nemt 2024-08-16 18:02:18 +05:00
commit 6c64321c30

View File

@ -36,8 +36,11 @@ namespace AsbCloudInfrastructure
{
if (date == default)
return new DateTime(0, DateTimeKind.Unspecified);
var dateTz = date.ToOffset(TimeSpan.FromHours(remoteTimezoneOffsetHours));
return dateTz.DateTime;
var dateTz = date.ToOffset(TimeSpan.FromHours(remoteTimezoneOffsetHours));
var result = DateTime.SpecifyKind(dateTz.DateTime, DateTimeKind.Unspecified);
return result;
}
/// <summary>