forked from ddrilling/AsbCloudServer
Установлен Kind в unspecified для dateTime в методе GetOrDefaultDataDateRange
This commit is contained in:
parent
43b89b8db8
commit
8590156dbd
@ -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