我使用 org-mode 来计时我的工作,有时我会在午夜后工作几个小时。
因此,例如,我计时的时间从 03.06.2013 晚上 10 点开始,到 04.06.2013 凌晨 2 点结束。
组织模式在凌晨 0 点将其分开,开始新的一天。但如果将 0am-2am 记录在 03.06.2013 而不是 04.06.2013 对我来说会更方便。
所以我希望能够指定组织模式在什么时间(比如凌晨 4 点)决定新的一天已经开始。
我可以通过改变 emacs 进程的时区来使用一种解决方法,但是我需要记住所有记录的时间都被转移了......不是很方便。
最佳答案
查看变量 org-extend-today-until
,在 org.el
中定义的变量.
Documentation:
The hour when your day really ends. Must be an integer.
This has influence for the following applications:
- When switching the agenda to "today". It it is still earlier than the time given here, the day recognized as TODAY is actually yesterday.
- When a date is read from the user and it is still before the time given here, the current date and time will be assumed to be yesterday, 23:59. Also, timestamps inserted in capture templates follow this rule.
关于emacs - 更改组织模式开始新一天的时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16899325/