[英]Set clock table duration format for emacs org-mode
I recently upgraded to org-mode 8.2.5h and now when I update my clock tables, values that are larger than 24h get for instance displayed as: 1d 9:16
. 我最近升级到org-mode 8.2.5h,现在当我更新我的时钟表时,大于24h的值会显示为:
1d 9:16
。 Is there any preference I can set to switch it back to the hours:minutes format. 是否有任何偏好我可以设置将其切换回小时:分钟格式。 I've searched the documentation but could not find any information regarding this topic.
我搜索了文档,但找不到有关此主题的任何信息。
显然你可以像这样设置org-time-clocksum-format
变量:
(setq org-time-clocksum-format (quote (:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)))
You should now use org-duration-format
: (setq org-duration-format (quote h:mm))
for your question. 您现在应该使用
org-duration-format
:( (setq org-duration-format (quote h:mm))
来表示您的问题。
See https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00270.html for explanations. 有关说明,请参阅https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00270.html 。
You can set the org-time-clocksum-format
variable like this : 您可以像这样设置
org-time-clocksum-format
变量:
(setq org-time-clocksum-format (quote (:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)))
You should now use org-duration-format
: 您现在应该使用
org-duration-format
:
(setq org-duration-format (quote h:mm))
See this for explanations on the update. 见这对更新的解释。
See this for the Org-Mode release notes. 有关Org-Mode发行说明,请参阅此内容 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.