I'm just getting started with org-mode, and really 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.
The date_default_timezone_set() function sets the default timezone used by all date/time functions in the script.
Org-mode offers the ability to insert source code in the document being edited, which is automatically exported and/or executed when exporting the document; the result(s) produced by this code can be automatically fetched back in the resulting output.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With