]> git.eshelyaron.com Git - emacs.git/commit
icalendar: fix issues regarding timezones without dst
authorUlf Jasper <ulf.jasper@web.de>
Sun, 16 Nov 2014 16:23:45 +0000 (17:23 +0100)
committerUlf Jasper <ulf.jasper@web.de>
Sun, 16 Nov 2014 16:23:45 +0000 (17:23 +0100)
commit7261b4d9b2f35c3e520b488a8ba3cfde30f84a24
treeb50d3087acf6dca06ce807bcfa79d9ab7d5961bc
parenta97fd0eb8d043170601808e6e5a349e6981c30c4
icalendar: fix issues regarding timezones without dst

* lisp/calendar/icalendar.el (icalendar--convert-tz-offset): Return
complete cons when offsets of standard time and daylight saving
time are equal.
(icalendar-export-region): Fix unbound variable warning.

* test/automated/icalendar-tests.el (icalendar--parse-vtimezone): Add
testcase where offsets of standard time and daylight saving time
are equal.
(icalendar-real-world): Fix error in test case.  Expected result
was wrong when offsets of standard time and daylight saving time
were equal.
lisp/ChangeLog
lisp/calendar/icalendar.el
test/ChangeLog
test/automated/icalendar-tests.el