ofono: work around strptime() issue.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 10 Aug 2012 19:29:33 +0000 (16:29 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Fri, 10 Aug 2012 19:30:02 +0000 (16:30 -0300)
commit596f48f34a1dc2fbcc516ad2dd97cdab5f0ef5ae
tree4d6cf183c6e9ea5fa9e8155a7ff02e7c636bd9f6
parent7810db0271f7039ab488450ad61360ec2266593b
ofono: work around strptime() issue.

strptime() will ignore '%z' for timezone. Then we must parse this
ourselves and fix the date accordingly.

time() is local, then we must convert the parsed time to it as well.

Fixes #14 (Active call should show current duration)
dialer/ofono.c