forked from ddrilling/AsbCloudServer
Merge pull request 'Установлен Kind в unspecified для dateTime в методе GetOrDefaultDataDateRange' (#279) from fix/#33685682 into dev
Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/279
This commit is contained in:
commit
3038a2c52a
@ -152,8 +152,8 @@ namespace AsbCloudInfrastructure.Services.SAUB
|
||||
if (!cacheItem.LastData.Any())
|
||||
return null;
|
||||
|
||||
var from = cacheItem.FirstByDate.DateTime;
|
||||
var to = cacheItem.LastData[^1].DateTime;
|
||||
var from = DateTime.SpecifyKind(cacheItem.FirstByDate.DateTime, DateTimeKind.Unspecified);
|
||||
var to = DateTime.SpecifyKind(cacheItem.LastData[^1].DateTime, DateTimeKind.Unspecified);
|
||||
|
||||
return new DatesRangeDto
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user