Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Send TimeZone information with Contexts data #236

Closed
bruno-garcia opened this issue Apr 16, 2018 · 3 comments
Closed

Send TimeZone information with Contexts data #236

bruno-garcia opened this issue Apr 16, 2018 · 3 comments
Assignees

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Apr 16, 2018

As part of the Contexts interface, provide the TimeZone information with each event.

Sentry docs on the Context Interface: https://docs.sentry.io/clientdev/interfaces/contexts/

The most consistent API for this is TimeZoneInfo.Local.Id which has also been around for a while so no need for #ifdef

On CoreCLR, Linux and macOS, it'll return the 'Europe/Vienna' format.
On CoreCLR and CLR on Windows, it'll return the 'W. Europe Daylight Time' format.

For Mono and Linux under WSL, see:
mono/mono/issues/8267
microsoft/WSL/issues/3109

@bruno-garcia bruno-garcia self-assigned this Apr 16, 2018
@bruno-garcia
Copy link
Member Author

/cc @mitsuhiko

@asbjornu
Copy link
Contributor

dotnet/corefx#11897 seems relevant.

@bruno-garcia
Copy link
Member Author

bruno-garcia commented Apr 23, 2018

Implemented through #237

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants