I have a blazor WASM application with several DatePicker controls. I'm on the UTC+2 timezone.
When I run the project in my local computer application sends to the (local) server the correct datetime, without the time set to 00:00:00.
When I publish the project to the production servers that are located on the UTC timezone I get some strange behaviour. If I inspect the sent request I see that the dates are altered, substracting 2 hours from the set day, that is for example "
2022-08-03T22:00:00" so I really get the date of the day before the expected...
How do I disable the timezone conversions? I don't need nor want the time to be altered in anyway. I simple wish to record what was entered and display what was recorded.
Thanks in advance