OfficeDev / ews-managed-api

Other
585 stars 319 forks source link

StartDate in recurrrence. Bug or feature? #118

Open vangog063 opened 7 years ago

vangog063 commented 7 years ago

I found feature in recurring appointments. StartDate of Recurrence is always returned as the date with the kind==Unspecified. Time zone from a response is ignored. RecurrenceRange.cs: DateTime? startDate = reader.ReadElementValueAsUnspecifiedDate();

EndDate of Recurrence (as many other dates) is returned as the date converted to time zone specified for the service. Time zone from a response is applied. EndDateRecurrenceRange.cs: this.endDate = reader.ReadElementValueAsDateTime().Value;

Why?