This PR ensures that DateTime instances are always converted to UTC during JSON serialization/deserialization when using either System.Text.Json or Newtonsoft. It also ensures that the gRPC adapter proxy always converts DateTime instances in query objects to UTC when creating equivalent protobuf request types.
TagValue, EventMessageBase and TagValueAnnotation all ensure that DateTime objects passed to their constructors are converted to UTC.
This PR ensures that DateTime instances are always converted to UTC during JSON serialization/deserialization when using either System.Text.Json or Newtonsoft. It also ensures that the gRPC adapter proxy always converts DateTime instances in query objects to UTC when creating equivalent protobuf request types.
TagValue
,EventMessageBase
andTagValueAnnotation
all ensure that DateTime objects passed to their constructors are converted to UTC.