Add explicit time zone to datetime exported to ical.
commitd1a60922330b1fb9bebc0c25dea53f3fa45e7ef1
authorRémi Vanicat <vanicat@debian.org>
Wed, 22 Dec 2010 13:24:08 +0000 (22 13:24 +0000)
committerBastien Guerry <bzg@altern.org>
Sat, 12 Feb 2011 19:57:59 +0000 (12 20:57 +0100)
tree5b6d7601b53b400d1514a3eb372a3e71b24a7f3f
parent8fd354cf0e232e897e1e10ba4b6fd64ff037fd94
Add explicit time zone to datetime exported to ical.

* org-icalendar.el (org-icalendar-use-UTC-date-time): remove.
(org-icalendar-date-time-format): New custom variable.
(org-icalendar-use-UTC-date-timep): New function.
(org-ical-ts-to-string): Use the new variable.

----
When exporting to ical, using localtime is incompatible with some
software, using explicit universal time may failed with daylight
saving time, so we need another possibility, that is localtime with
explicit timezone.
lisp/org-icalendar.el