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/)]

2017-12-22 Thread Ihor Radchenko

(while (not yant/check-from-field-before-sending-bug-report)
   (insert "I will always check my From field before sending bug 
report.\n"))

P.S. Does anyone know how to set alternative default sending account for bug
reporting specifically?

Regards,
Ihor

Samuel Wales  writes:

> in friendly jest:
>
> On 12/21/17, Ihor Radchenko  wrote:
>> intended recipient, you are hereby notified that any use, dissemination,
>> distribution, or copying of this message, or any attachment, is strictly
>> prohibited. If you have received this email in error, please inform the
>
> all those people who read the archives have to send you email and
> delete the archives!
>
> that poor bot!  it is being told to send you email for each message!
> it is disseminating!  or maybe distributing!
>
> i'm gonna prohibit you from combing your hair for the next week!
> because you received this email!  i'll bet you think this email is
> about you!  don't you!  don't you!
>
> -- 
> The Kafka Pandemic: 
>
> The disease DOES progress. MANY people have died from it. And ANYBODY
> can get it at any time.
>
> "You’ve really gotta quit this and get moving, because this is murder
> by neglect." ---
> .
>

-- 
Ihor Radchenko,
PhD Student
Singapore University of Technology and Design,
8 Somapah Road Singapore 487372
Email: yanta...@gmail.com, ihor_radche...@mymail.sutd.edu.sg
Tel: +6584017977


signature.asc
Description: PGP signature


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/)]

2017-12-22 Thread Samuel Wales
in friendly jest:

On 12/21/17, Ihor Radchenko  wrote:
> intended recipient, you are hereby notified that any use, dissemination,
> distribution, or copying of this message, or any attachment, is strictly
> prohibited. If you have received this email in error, please inform the

all those people who read the archives have to send you email and
delete the archives!

that poor bot!  it is being told to send you email for each message!
it is disseminating!  or maybe distributing!

i'm gonna prohibit you from combing your hair for the next week!
because you received this email!  i'll bet you think this email is
about you!  don't you!  don't you!

-- 
The Kafka Pandemic: 

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
.



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/)]

2017-12-22 Thread Nicolas Goaziou
Hello,

Allen Li  writes:

> On Thu, Dec 21, 2017 at 5:55 PM, Ihor Radchenko
>  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.

Thank you.

Regards,

-- 
Nicolas Goaziou



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/)]

2017-12-21 Thread Allen Li
On Thu, Dec 21, 2017 at 5:55 PM, Ihor Radchenko
 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.

The original thread (which is long-winded):

http://lists.gnu.org/archive/html/emacs-orgmode/2017-11/msg0.html
http://lists.gnu.org/archive/html/emacs-orgmode/2017-11/msg00027.html

The second bug, also timezone issues:

http://lists.gnu.org/archive/html/emacs-orgmode/2017-12/msg00039.html



[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/)]

2017-12-21 Thread Ihor Radchenko
This email may contain confidential and/or proprietary information that is 
exempt from disclosure under applicable law and is intended for receipt and use 
solely by the addressee(s) named above. If you are not the intended recipient, 
you are notified that any use, dissemination, distribution, or copying of this 
email, or any attachment, is strictly prohibited. Please delete the email 
immediately and inform the sender. Thank You
The above message may contain confidential and/or proprietary information that 
is exempt from disclosure under applicable law and is intended for receipt and 
use solely by the addressee(s) named above. If you are not the intended 
recipient, you are hereby notified that any use, dissemination, distribution, 
or copying of this message, or any attachment, is strictly prohibited. If you 
have received this email in error, please inform the sender immediately by 
reply e-mail or telephone, reversing the charge if necessary. Please delete the 
message thereafter. Thank you.
--- Begin Message ---


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


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.

Emacs  : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, X toolkit)
 of 2017-12-06
Package: Org mode version 9.1.4 (9.1.4-13-g84cb63-elpa @ 
/home/yantar92/.emacs.d/elpa/org-20171218/)

-- 
Ihor Radchenko,
PhD Student
Singapore University of Technology and Design,
8 Somapah Road Singapore 487372
Email: yanta...@gmail.com, ihor_radche...@mymail.sutd.edu.sg
Tel: +6584017977


signature.asc
Description: PGP signature
--- End Message ---