Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimeOffset Offset is not preserved #17

Open
JoshLove-msft opened this issue Apr 23, 2021 · 0 comments
Open

DateTimeOffset Offset is not preserved #17

JoshLove-msft opened this issue Apr 23, 2021 · 0 comments

Comments

@JoshLove-msft
Copy link

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Publish an EventGridEvent with a DateTimeOffset property within the Data object. View the event in Event Grid Viewer. The Offset is not preserved and instead a DateTime is shown in UTC.

Expected/desired behavior

The string value of the field should be shown by using the DateParseHandling setting when deserializing JSON.

Mention any other details that might be useful

Azure/azure-sdk-for-net#19859


Thanks! We'll be in touch soon.

@JoshLove-msft JoshLove-msft changed the title DateTimeOffset format is not preserved DateTimeOffset Offset is not preserved Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant