Skip to content

Commit

Permalink
Do not use FetchXML aggregates for DATEPART in UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Jan 9, 2022
1 parent 4a21c00 commit b182e8d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ Source is FetchXmlScan fetch &&
canUseFetchXmlAggregate = false;
break;
}

// FetchXML dategrouping always uses local timezone. If we're using UTC we can't use it
if (!options.UseLocalTimeZone)
{
canUseFetchXmlAggregate = false;
break;
}
}
}

Expand Down

0 comments on commit b182e8d

Please sign in to comment.