Merge branch 'maint'

This commit is contained in:
Kyle Meyer 2016-04-11 00:32:43 -04:00
commit 634e12a31e
2 changed files with 4 additions and 2 deletions

View file

@ -23673,7 +23673,8 @@ time-range, if possible.
When optional argument UTC is non-nil, time will be expressed as
Universal Time."
(format-time-string
format (org-timestamp--to-internal-time timestamp end) utc))
format (org-timestamp--to-internal-time timestamp end)
(and utc t)))
(defun org-timestamp-split-range (timestamp &optional end)
"Extract a TIMESTAMP object from a date or time range.

View file

@ -397,7 +397,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)))))))
(and (or utc (and with-time-p (org-icalendar-use-UTC-date-time-p)))
t)))))
(defun org-icalendar-dtstamp ()
"Return DTSTAMP property, as a string."