X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/20aa42e8204f8f0139ba3880cb32ddf88acc9bf4..ca509810014726cf6bee9f7e8f69bdeaf62dc146:/lisp/org/ox-icalendar.el diff --git a/lisp/org/ox-icalendar.el b/lisp/org/ox-icalendar.el index 3da52243d3..cd54d1ee8d 100644 --- a/lisp/org/ox-icalendar.el +++ b/lisp/org/ox-icalendar.el @@ -1,6 +1,6 @@ ;;; ox-icalendar.el --- iCalendar Back-End for Org Export Engine -;; Copyright (C) 2004-2015 Free Software Foundation, Inc. +;; Copyright (C) 2004-2016 Free Software Foundation, Inc. ;; Author: Carsten Dominik ;; Nicolas Goaziou @@ -76,7 +76,7 @@ for timed events. If non-zero, alarms are created. (defcustom org-icalendar-exclude-tags nil "Tags that exclude a tree from export. -This variable allows to specify different exclude tags from other +This variable allows specifying different exclude tags from other back-ends. It can also be set with the ICAL_EXCLUDE_TAGS keyword." :group 'org-export-icalendar @@ -393,7 +393,8 @@ Universal Time, ignoring `org-icalendar-date-time-format'." ;; Convert timestamp into internal time in order to use ;; `format-time-string' and fix any mistake (i.e. MI >= 60). (encode-time 0 mi h d m y) - (or utc (and with-time-p (org-icalendar-use-UTC-date-time-p))))))) + (not (not (or utc (and with-time-p + (org-icalendar-use-UTC-date-time-p))))))))) (defun org-icalendar-dtstamp () "Return DTSTAMP property, as a string."