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())
|
if (!cacheItem.LastData.Any())
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
var from = cacheItem.FirstByDate.DateTime;
|
var from = DateTime.SpecifyKind(cacheItem.FirstByDate.DateTime, DateTimeKind.Unspecified);
|
||||||
var to = cacheItem.LastData[^1].DateTime;
|
var to = DateTime.SpecifyKind(cacheItem.LastData[^1].DateTime, DateTimeKind.Unspecified);
|
||||||
|
|
||||||
return new DatesRangeDto
|
return new DatesRangeDto
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user