[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-clock-total-time is calculated from midnight in UTC (no
Re: [O] Bug: org-clock-total-time is calculated from midnight in UTC (not in current time zone) [9.1.4 (9.1.4-13-g84cb63-elpa @ /home/yantar92/.emacs.d/elpa/org-20171218/)]
Fri, 22 Dec 2017 19:22:54 +0100
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Allen Li <address@hidden> writes:
> On Thu, Dec 21, 2017 at 5:55 PM, Ihor Radchenko
> <address@hidden> wrote:
>> org-clock-in in org-clock.el calculates org-clock-total-time via calling
>> (org-clock-sum-current-item (org-clock-get-sum-start)).
>> However, org-clock-get-sum-start returns the time in UTC, which is not
>> considered by org-clock-sum-current-time.
>> My time zone if UTC+8 and org-clock-mode-line-total is 'today. Hence
>> org-clock-total-time is gives total time starting from 8am today (which
>> is midnight in UTC) instead of midnight in UTC+8.
> This sounds like a continuation of Org mode’s timezone issues.
Indeed. This is a leftover from timezone issues. I removed it.