summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-30 15:22:36 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-30 15:22:36 -0500
commit1248a4f022bfbf35a5309f93ac8218c059594543 (patch)
tree8caccbf10339cdab9d8ba64de0eae57ffa61a5cc
parente4727f338876adbe6143e7ccc361c44e708ed92e (diff)
downloademacsconf-el-1248a4f022bfbf35a5309f93ac8218c059594543.tar.xz
emacsconf-el-1248a4f022bfbf35a5309f93ac8218c059594543.zip
add require
-rw-r--r--emacsconf.el20
1 files changed, 2 insertions, 18 deletions
diff --git a/emacsconf.el b/emacsconf.el
index ea9b0b1..d8b75a4 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -612,6 +612,7 @@
(seconds-to-time (/ 3600 2))))))))
o)
+(require 'emacsconf-pad)
(defun emacsconf-add-live-info (o)
(plist-put o :absolute-url (concat emacsconf-base-url (plist-get o :url)))
(plist-put o :in-between-url (format "%s%s/in-between/%s.png"
@@ -1062,8 +1063,6 @@
:vnc-port "5906"
:status "offline")))
-(setq emacsconf-shifts (list (list :id "sat-am-gen" :track "General" :start "2022-12-03T08:00:00-0500" :end "2022-12-03T12:00:00-0500" :host "zaeph" :streamer "sachac" :checkin "corwin" :irc "dto" :pad "publicvoit" :coord "sachac") (list :id "sat-pm-gen" :track "General" :start "2022-12-03T13:00:00-0500" :end "2022-12-03T18:00:00-0500" :host "zaeph" :streamer "sachac" :checkin "FlowyCoder" :irc "bandali" :pad "publicvoit" :coord "sachac") (list :id "sat-am-dev" :track "Development" :start "2022-12-03T08:00:00-0500" :end "2022-12-03T12:00:00-0500" :host "bandali" :streamer "sachac" :checkin "corwin" :irc "dto" :coord "sachac") (list :id "sat-pm-dev" :track "Development" :start "2022-12-03T13:00:00-0500" :end "2022-12-03T18:00:00-0500" :host "vetrivln" :streamer "bandali" :checkin "FlowyCoder" :irc "vetrivln" :coord "sachac") (list :id "sun-am-gen" :track "General" :start "2022-12-04T08:00:00-0500" :end "2022-12-04T12:00:00-0500" :host "zaeph" :streamer "sachac" :checkin "corwin" :irc "dto" :pad "publicvoit" :coord "sachac") (list :id "sun-pm-gen" :track "General" :start "2022-12-04T13:00:00-0500" :end "2022-12-04T18:00:00-0500" :host "zaeph" :streamer "jman" :checkin "FlowyCoder" :irc "bandali" :pad "publicvoit" :coord "sachac") (list :id "sun-am-dev" :track "Development" :start "2022-12-04T08:00:00-0500" :end "2022-12-04T12:00:00-0500" :host "bandali" :streamer "sachac" :checkin "corwin" :irc "dto" :coord "sachac") (list :id "sun-pm-dev" :track "Development" :start "2022-12-04T13:00:00-0500" :end "2022-12-04T18:00:00-0500" :host "vetrivln" :streamer "bandali" :checkin "FlowyCoder" :irc "vetrivln" :coord "sachac")))
-
(defun emacsconf-get-track (name)
(when (and (listp name) (plist-get name :track))
(setq name (plist-get name :track)))
@@ -1098,22 +1097,7 @@
(seq-filter (lambda (o) (string= (plist-get o :track) (plist-get track :name))) info))
(defvar emacsconf-shifts
- `((:id "sat-am"
- :label "Sat Dec 3 morning"
- :start ,(concat "2022-12-03T09:00:00" emacsconf-timezone-offset)
- :end ,(concat "2022-12-03T12:00:00" emacsconf-timezone-offset))
- (:id "sat-pm"
- :label "Sat Dec 3 afternoon"
- :start ,(concat "2022-12-03T13:00:00" emacsconf-timezone-offset)
- :end ,(concat "2022-12-03T17:30:00" emacsconf-timezone-offset))
- (:id "sun-am"
- :label "Sun Dec 4 morning"
- :start ,(concat "2022-12-04T09:00:00" emacsconf-timezone-offset)
- :end ,(concat "2022-12-04T12:00:00" emacsconf-timezone-offset))
- (:id "sun-pm"
- :label "Sun Dec 4 afternoon"
- :start ,(concat "2022-12-04T13:00:00" emacsconf-timezone-offset)
- :end ,(concat "2022-12-04T17:30:00" emacsconf-timezone-offset))))
+ (list (list :id "sat-am-gen" :track "General" :start "2022-12-03T08:00:00-0500" :end "2022-12-03T12:00:00-0500" :host "zaeph" :streamer "sachac" :checkin "corwin" :irc "dto" :pad "publicvoit" :coord "sachac") (list :id "sat-pm-gen" :track "General" :start "2022-12-03T13:00:00-0500" :end "2022-12-03T18:00:00-0500" :host "zaeph" :streamer "sachac" :checkin "FlowyCoder" :irc "bandali" :pad "publicvoit" :coord "sachac") (list :id "sat-am-dev" :track "Development" :start "2022-12-03T08:00:00-0500" :end "2022-12-03T12:00:00-0500" :host "bandali" :streamer "sachac" :checkin "corwin" :irc "dto" :coord "sachac") (list :id "sat-pm-dev" :track "Development" :start "2022-12-03T13:00:00-0500" :end "2022-12-03T18:00:00-0500" :host "bandali" :streamer "sachac" :checkin "FlowyCoder" :irc "bandali" :coord "sachac") (list :id "sun-am-gen" :track "General" :start "2022-12-04T08:00:00-0500" :end "2022-12-04T12:00:00-0500" :host "zaeph" :streamer "sachac" :checkin "corwin" :irc "dto" :pad "publicvoit" :coord "sachac") (list :id "sun-pm-gen" :track "General" :start "2022-12-04T13:00:00-0500" :end "2022-12-04T18:00:00-0500" :host "zaeph" :streamer "jman" :checkin "FlowyCoder" :irc "bandali" :pad "publicvoit" :coord "sachac") (list :id "sun-am-dev" :track "Development" :start "2022-12-04T08:00:00-0500" :end "2022-12-04T12:00:00-0500" :host "bandali" :streamer "sachac" :checkin "corwin" :irc "dto" :coord "sachac") (list :id "sun-pm-dev" :track "Development" :start "2022-12-04T13:00:00-0500" :end "2022-12-04T18:00:00-0500" :host "bandali" :streamer "sachac" :checkin "FlowyCoder" :irc "bandali" :coord "sachac")))
(defun emacsconf-filter-talks-by-time (start-time end-time info)
"Return talks that are between START-TIME and END-TIME (inclusive) in INFO."