From 6be712dedf761812f351522b5e1035491b403958 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Tue, 7 Nov 2023 08:57:17 -0500 Subject: fix end of timezone string --- emacsconf.el | 5 ++--- 1 file 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" -- cgit v1.2.3