Closed guidoschmidt closed 2 months ago
Describe the bug Using circardian--encode-time on Windows seems to offset the time by 1 hour.
circardian--encode-time
To Reproduce Steps to reproduce the behavior:
eval-expression
(decode-time (circadian--encode-time 11 54))
(0 54 12 22 4 2024 1 t 7200)
Expected behavior Using (decode-time (circadian--encode-time 11 54)) should not offset time by one hour.
Environment (please complete the following information):
Looks like passing the time zone via (current-time-zone) results in a wrong time zone on windows. According to (encode-time) documentation, you can just pass ignored -1 nil for the time zone settings.
(current-time-zone)
(encode-time)
ignored -1 nil
Describe the bug Using
circardian--encode-time
on Windows seems to offset the time by 1 hour.To Reproduce Steps to reproduce the behavior:
eval-expression
and enter(decode-time (circadian--encode-time 11 54))
(0 54 12 22 4 2024 1 t 7200)
Expected behavior Using
(decode-time (circadian--encode-time 11 54))
should not offset time by one hour.Environment (please complete the following information):