emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ben McGinnes <ben@adversary.org>
To: emacs-orgmode@gnu.org
Subject: Bug or known issue: org-clock-display
Date: Tue, 15 Jan 2019 03:07:37 +1100	[thread overview]
Message-ID: <20190114160737.5z7vzilh3bgkkq5e@adversary.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

Hi all,
	I've been using org-mode to perform the task of timesheets
with another GNU project and encountered something which has all the
hallmarks of a bug.  I'm just not sure if it's a known issue or
whether to write up a bug report for it.

I use org-clock-in and org-clock-out to track the hours worked and
then at the end of each month use org-clock-display to obtain the
total hours to bill for.

This was going fine all year until January 1st.  At this point I can
no longer see the totals and org-clock-display produces the following
error message:

    Total file time: 0:00 (0 hours and 0 minutes)

If I do a find and replace of 2018 to 2019, however, the correct
calculations occur as expected.  So it appears that org-clock-display
only works for the year you're in.

BTW, the test I performed on just December, the correct total time
message is:

    Total file time: 5d 22:39 (142 hours and 39 minutes)

A bit of a difference.  ;)

So, is this a known issue with possibly some arcane reason for why it
can't easily be fixed or is my next step to go lodge a formal bug
report?


Regards,
Ben


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

             reply	other threads:[~2019-01-14 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14 16:07 Ben McGinnes [this message]
2019-01-14 18:56 ` Bug or known issue: org-clock-display Marco Wahl
2019-01-14 19:44   ` Ben McGinnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190114160737.5z7vzilh3bgkkq5e@adversary.org \
    --to=ben@adversary.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).