为什么Emacs org-mode在时钟表中缺少一个日期?

时间:2017-03-15 22:08:25

标签: emacs org-mode

我已经使用Emacs的组织模式很长时间来跟踪我的工作时间,无论出于何种原因,从我的实际组织模式文件中提取的以下片段始终误报了星期六11日和星期日12日

调查一下,我发现星期六和星期日的小时数合并到星期六的入口,至少在第一个时钟表中。在第二个时钟表中,我特别限制在日志中显示的日期,小时数被正确分开。

如果有人能解释什么是错的,我会很感激,因为我以前从来没有这样做过,而且我确实依赖它来制作时间表!

尝试的事情 *重新编译Emacs 25.1.1 ..以防万一库变更问题。 *使用'包'升级一切。 *本地编译的'git'2.x因为'magit'在我更新包时抱怨。

谢谢!

Emacs Version...: GNU Emacs 25.1.1 - Locally compiled.
Org Version.....: 20170210         - Installed via 'Packages'
Operating System: CentOS 7         - From DVD early this year,
                                     and updated as needed.

* FOO
:LOGBOOK:
CLOCK: [2017-03-13 Mon 10:22]--[2017-03-13 Mon 19:17] =>  8:55
CLOCK: [2017-03-12 Sun 18:35]--[2017-03-12 Sun 19:17] =>  0:42
CLOCK: [2017-03-12 Sun 15:29]--[2017-03-12 Sun 16:23] =>  0:54
CLOCK: [2017-03-12 Sun 10:34]--[2017-03-12 Sun 11:18] =>  0:44
CLOCK: [2017-03-11 Sat 20:06]--[2017-03-11 Sat 22:59] =>  2:53
CLOCK: [2017-03-11 Sat 15:09]--[2017-03-11 Sat 19:15] =>  4:06
CLOCK: [2017-03-11 Sat 11:56]--[2017-03-11 Sat 12:32] =>  0:36
CLOCK: [2017-03-11 Sat 11:40]--[2017-03-11 Sat 11:56] =>  0:16
CLOCK: [2017-03-10 Fri 12:26]--[2017-03-10 Fri 20:10] =>  7:44
:LOGBOOK:

** WHERE DID SUNDAY THE 12TH GO?
#+BEGIN: clocktable :maxlevel 9 :scope file :step day :tstart "<-1w>" :tend "<+1d>"

Daily report: [2017-03-07 Tue]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0.00* |

Daily report: [2017-03-08 Wed]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0.00* |

Daily report: [2017-03-09 Thu]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0.00* |

Daily report: [2017-03-10 Fri]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *7.73* |
|--------------+--------|
| FOO          | 7.73   |

Daily report: [2017-03-11 Sat]
| Headline     | Time    |
|--------------+---------|
| *Total time* | *10.18* |
|--------------+---------|
| FOO          | 10.18   |

Daily report: [2017-03-13 Mon]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *8.92* |
|--------------+--------|
| FOO          | 8.92   |

Daily report: [2017-03-14 Tue]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0.00* |

Daily report: [2017-03-15 Wed]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0.00* |
#+END:

** OH HERE IT IS?  BUT WHY?
#+BEGIN: clocktable :maxlevel 9 :scope file :step day :tstart "<2017-03-10>" :tend "<2017-03-14>"

Daily report: [2017-03-10 Fri]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *7.73* |
|--------------+--------|
| FOO          | 7.73   |

Daily report: [2017-03-11 Sat]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *7.85* |
|--------------+--------|
| FOO          | 7.85   |

Daily report: [2017-03-12 Sun]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *2.33* |
|--------------+--------|
| FOO          | 2.33   |

Daily report: [2017-03-13 Mon]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *8.92* |
|--------------+--------|
| FOO          | 8.92   |
#+END:

1 个答案:

答案 0 :(得分:0)

我遇到了类似的问题(针对2018年11月),并将其报告给emacs-orgmode@gnu.org