Fix for bug #3029228: Calendar published at/with incorrect time
commitd9fc21c87bc4968d52b1c75d2301a6072213d620
authorStefan Becker <stefan.becker@nokia.com>
Wed, 14 Jul 2010 12:41:26 +0000 (14 15:41 +0300)
committerStefan Becker <stefan.becker@nokia.com>
Wed, 14 Jul 2010 12:41:26 +0000 (14 15:41 +0300)
tree06a1bea34df8f130d3f5f8a6bdaf7194bb152055
parent4c309202f3a2dba9565d65bc8dacfe1f73f6f1d7
Fix for bug #3029228: Calendar published at/with incorrect time

ISO8601 time stamps without time zone offset describe local times. But SIPE
code relies on sipe_utils_str_to_time() to interpret those as UTC as EWS time
stamps are in UTC but without time zone offset.

Add a crude check for a missing time zone offset letter and add "Z" to the end
of the time stamp string in that case. I hope this is good enough for our use
cases.
src/core/sipe-utils.c