I have this JSON which I send to an API. This data is saved to a COSMOS DB. Whenever I debug my API and use POSTMAN to send this JSON the DateTime got saved correct in the DB- 2018-12-23T00:00:00+01:00. But when I call the API on the cloud (Azure App Service) with the exact same JSON it subtract 1 day - 2018-12-22T00:00:00+00:00
JSON:
{"FoodGroupId":"snack","FoodItemId":"f5ce9e97-0d0c-4ff4-b8ed-cb0d1bb46ef1","Units":25.0,"ConsumedDate":"2018-12-23T00:00:00+01:00"}