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

TimeZone support tracked in #148 #177

Merged
merged 6 commits into from
Jun 16, 2017
Merged

TimeZone support tracked in #148 #177

merged 6 commits into from
Jun 16, 2017

Conversation

gautamsi
Copy link
Owner

discuss any issues with #148

@gautamsi gautamsi self-assigned this Apr 13, 2017
@gautamsi gautamsi added this to the 0.9.0 milestone Apr 13, 2017
@gautamsi
Copy link
Owner Author

TimeZone related code ported.
caveats:

  1. You want to use ews.TimeZoneInfo.FindSystemTimeZoneById("zone id, Windows based or IANA id") It usage timezone mapping data generated locally from combination of unicode data and windows timezone information data
  2. Local timezone can be created using TimeZoneInfo.Local and UTC timezone can be created using TimeZoneInfo.Utc
  3. you can use static ConvertTime(dateTime: DateTime, sourceTimeZone: TimeZoneInfo, destinationTimeZone: TimeZoneInfo): DateTime to convert datetime from one timezone to another. please report any bugs.

@gautamsi gautamsi merged commit 8dc03fb into master Jun 16, 2017
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

Successfully merging this pull request may close these issues.

1 participant