(icalendar-tests--test-import): Add debug messages.
* automated/icalendar-tests.el (icalendar-tests--test-export)
(icalendar-tests--test-import):
- Use getenv/setenv rather than set-time-zone-rule.
+ Use getenv/setenv rather than set-time-zone-rule. Add debug messages.
(icalendar-tests--test-import): Reset zone even if error occurred.
2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
(icalendar-recurring-start-year 2000))
(unwind-protect
(progn
+ (message "Current time zone: %s" (current-time-zone))
(setenv "TZ" "CET")
+ (message "Current time zone: %s" (current-time-zone))
(when input-iso
(let ((calendar-month-name-array
["January" "February" "March" "April" "May" "June" "July" "August"
(let ((timezone (getenv "TZ")))
(unwind-protect
(progn
+ (message "Current time zone: %s" (current-time-zone))
(setenv "TZ" "CET")
+ (message "Current time zone: %s" (current-time-zone))
(with-temp-buffer
(if (string-match "^BEGIN:VCALENDAR" input)
(insert input)