summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacsconf.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 485ba4d..f5dd1cb 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -1083,9 +1083,8 @@ The subheading should match `emacsconf-abstract-heading-regexp'."
"Timezone offset for `emacsconf-timezone' on `emacsconf-date'.")
(defun emacsconf-timezone-string (o tz)
- (let* ((timestamp (org-timestamp-from-string (plist-get o :scheduled)))
- (start (org-timestamp-to-time (org-timestamp-split-range timestamp)))
- (end (org-timestamp-to-time (org-timestamp-split-range timestamp t))))
+ (let* ((start (org-timestamp-to-time (org-timestamp-split-range (org-timestamp-from-string (plist-get o :scheduled)))))
+ (end (org-timestamp-to-time (org-timestamp-split-range (org-timestamp-from-string (plist-get o :scheduled)) t))))
(if (string= tz "UTC")
(format "%s - %s "
(format-time-string "%A, %b %-e %Y, ~%-l:%M %p"