Closed emacle closed 3 months ago
change circadian--encode-time function delete encode-time zone param to keep decode-time and encode-time zone the same. solved!
(defun circadian--encode-time (hour min)
"Encode HOUR hours and MIN minutes into a valid format for `run-at-time'."
(let ((now (decode-time)))
(let ((day (nth 3 now))
(month (nth 4 now))
(year (nth 5 now)))
(encode-time 0 min hour day month year))))
@emacle Do you have calendar-latitude
and calendar-longitude
set in your config?
You can find your places lat/long coordinates e.g. via www.latlong.net and then set this before using circadian:
(setq calendar-latitude $YOUR_LAT_VALUE)
(setq calendar-longitude $YOUR_LNG_VALUE)
At current time 2020-08-25 13:10:00 . I eval last config then the theme doom-oceanic-next enabled, but when I checked timer-list variable
I saw the circadian-activate-latest-theme function next run at 2020-08-25 22:00:00
but it should not be running at 14:00 (for wombat theme) as circadian-themes variable defined