You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide the following (and please check them off the list with [x]) before submitting this issue:
Expected behavior. Please provide links to the specific Microsoft Graph documentation you used to determine the expected behavior.
Actual behavior. Provide error codes, stack information, and a Fiddler capture of the request and response (please remove personally identifiable information before posting).
Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario.
Improvement suggestion, no reproduction provided
Expected behavior
The DateTimeTimeZone entity is widely used accross the Graph and reflected in the dotnet SDK.
However it's properties are pure strings which allows for little validation and requires the consumer to do the serialization of these properties.
It'd be very interesting to have two extension methods to make people's lives simpler (and less prone to errors)
It'd also be nice to have things go the other way where a DateTimeTimeZone object can become a DateTimeOffset value. This makes it easier to format the result with ToString formatters.
public static DateTimeOffset ToDateTimeOffset(this DateTimeTimeZone dateTimeTimeZone);
* upgraded unit tests project to dotnetcore 2.2 and upgraded minor dependencies
* code linting
* fixes#366, datetimetimezone added new extensions methods
* upgraded appveyor image to vs 2019 to fix ci
* removed deprecated project property
ghost
locked as resolved and limited conversation to collaborators
Feb 23, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please provide the following (and please check them off the list with [x]) before submitting this issue:
Expected behavior
The DateTimeTimeZone entity is widely used accross the Graph and reflected in the dotnet SDK.
However it's properties are pure strings which allows for little validation and requires the consumer to do the serialization of these properties.
It'd be very interesting to have two extension methods to make people's lives simpler (and less prone to errors)
The text was updated successfully, but these errors were encountered: