Merge branch 'dev' into feature/#37076024-well-operation-service

This commit is contained in:
on.nemtina 2024-08-16 14:26:32 +05:00
commit 246b3b475b

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>