Function: htz:zone-to-hour
htz:zone-to-hour is a byte-compiled function defined in htz.el.
Signature
(htz:zone-to-hour TIMEZONE)
Documentation
Translate TIMEZONE (in zone name or integer) to integer hour.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/htz.el
(defun htz:zone-to-hour (timezone)
"Translate TIMEZONE (in zone name or integer) to integer hour."
(if timezone
(progn
(setq timezone
(or (cdr (assoc (upcase timezone)
htz:world-timezones))
(if (listp (current-time-zone))
(/ (car (current-time-zone)) 36)
(current-time-zone))
timezone))
(if (stringp timezone)
(setq timezone (string-to-number timezone)))
(/ timezone 100))
(error "(htz:zone-to-hour): Nil timezone sent as argument")))