title: Odata DateTime TimeZone issue on PUT method after migration from .net4.7 to .net6
body: <p>We are trying to move our solution from .net4.7 to .net6.
  We are facing an issue with DateTime values while using OData 8.0.8
  From the pictures below you can see that in both solutions values send are the same, but in the PUT method the date values received are different.
  In .net4.7 solution we are using:</p>
  <pre><code>config.SetTimeZoneInfo(TimeZoneInfo.Local);
  </code></pre>
  <p>And in the new solution the time zone is set like this:</p>
  <pre><code>services.AddControllers()
              .AddOData(opt =&gt;
              {
                  opt.EnableQueryFeatures().AddRouteComponents(&quot;odata/{language}&quot;, ODataModelBuilder.GetEdmModel()).TimeZone = TimeZoneInfo.Local;
              })
  </code></pre>
  <p>Is it OData bug or we are missing something?</p>
  <p><a href="https://i.stack.imgur.com/RLAWa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RLAWa.jpg" alt="Same request in .net4.7 and in .net6" /></a></p>
  <p><a href="https://i.stack.imgur.com/nJmtu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nJmtu.jpg" alt="Difference on backend visible in Watch" /></a></p>