更改组织模式开始新的一天的时间 [英] Change the hour when org-mode is starting new day

查看:101
本文介绍了更改组织模式开始新的一天的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



所以,例如,我打电话时间03.06.2013 10点开始并结束04.06.2013 2am。



组织模式在上午零点开始新的一天。但是对于我来说,如果那个时候0 am-2am被记录在03.06.2013而不是04.06.2013那样会更为方便。



所以我想能够指定什么时候(比如说上午4点)组织模式正在决定新的一天已经开始。



我可以使用一个解决方法来改变emacs进程的时区,但是我需要请记住,所有记录的时间都被转移...不是很方便。

解决方案

参见变量 org-extension-today-until ,在 org.el 中定义的变量。



< blockquote>

文档:

当天真正结束的时刻。必须是一个整数。

这对以下应用程序有影响:




  • 将议程切换到今天 。它现在还早于
    ,当天确认为TODAY实际上是昨天。

  • 当从用户读取日期并且仍在时间之前在这里给出
    ,当前日期和时间将被假定为昨天23:59。
    此外,插入捕获模板的时间戳遵循此规则。



I use org-mode to clock my work and sometimes I work past midnight for few hours.

So, for example, I clocked time starting 03.06.2013 10pm and ending 04.06.2013 2am.

And org-mode is dividing it at 0am, starting new day. But it would be more convinient for me if that time 0am-2am was recorded for 03.06.2013 instead of 04.06.2013.

So I want to be able to specify at what time (say, 4am) org-mode is deciding the new day has started.

I can use a workaround by shifting timezone for the emacs process, but then I need to keep in mind that all recorded time is shifted... Not very convinient.

解决方案

See the variable org-extend-today-until, a variable defined in 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.

这篇关于更改组织模式开始新的一天的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆