开发者

Setting timezone of org-mode

开发者 https://www.devze.com 2022-12-09 02:18 出处:网络
I\'m just getting started with org-mode, and reall开发者_StackOverflowy like it so far. I work in London with xemacs running on OpenVMS based on the East Coast US. Is there any way to get org-mode to

I'm just getting started with org-mode, and reall开发者_StackOverflowy like it so far. I work in London with xemacs running on OpenVMS based on the East Coast US. Is there any way to get org-mode to use a timezone other than the server's default?

I've tried:

(setq calendar-time-zone 0)
(setq calendar-standard-time-zone-name "GMT")
(setq calendar-daylight-time-zone-name "GDT")

with no luck.


Turns out:

(set-time-zone-rule "GMT-1")

works.

I'm not entirely clear why this:

(set-time-zone-rule "BST")

gives the wrong output (it results in times 1 hour early, even though BST is the current timezone string for London, UK).


(set-time-zone-rule "<TZ*>")

where

<TZ*>
is a canonical value from List of tz database time zones

0

精彩评论

暂无评论...
验证码 换一张
取 消