emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: stardiviner <numbchild@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: dynamic block :block thismonth seems not correct
Date: Fri, 02 Nov 2018 14:58:26 +0800	[thread overview]
Message-ID: <87o9b8x8x9.fsf@gmail.com> (raw)

I have this two dynamic block:

```
** REPEAT Weekly Org-Agenda Review                     :fragment:
SCHEDULED: <2018-11-03 Sat .+1w>
:PROPERTIES:
:LAST_REPEAT: [2018-10-27 Sat 16:09]
:END:
:LOGBOOK:
- State "DONE"       from "REPEAT"     [2018-10-27 Sat 16:09]
- State "DONE"       from "REPEAT"     [2018-10-04 Thu 18:10]
- State "DONE"       from "REPEAT"     [2018-05-23 Wed 12:49]
- State "DONE"       from "REPEAT"     [2018-05-03 Thu 18:53]
- State "DONE"       from "REPEAT"     [2018-02-19 Mon 20:24]
- State "DONE"       from "REPEAT"     [2018-01-26 Fri 19:15]
- State "DONE"       from "REPEAT"     [2018-01-13 Sat 10:23]
:END:

#+BEGIN: clocktable :maxlevel 5 :scope agenda-with-archives :block thisweek :fileskip0 t :indent t
#+CAPTION: Clock summary at [2018-11-02 Fri 14:17], for week 2018-W44.
| File                       | Headline                                         |    Time |       |      |
|----------------------------+--------------------------------------------------+---------+-------+------|
|                            | ALL *Total time*                                   | *1d 6:43* |       |      |
|----------------------------+--------------------------------------------------+---------+-------+------|
| Computer Todos.org         | *File time*                                        |      ** |       |      |
|                            | Computer Todos [8/24]                            |    0:07 |       |      |
|                            | \_  Setup database for Backup Disk...            |         |  0:07 |      |
|                            | Downloads [6/62]                                 |    1:24 |       |      |
|                            | \_  Download E-Book [2/36]                       |         |  1:24 |      |
|                            | \_    record to Org all issues "OFFLINE" 离线... |         |       | 1:24 |
|----------------------------+--------------------------------------------------+---------+-------+------|
| Code.org                   | *File time*                                        |      ** |       |      |
|                            | Config [15/42]                                   |    0:12 |       |      |
|                            | \_  Firefox can't input Chinese [3/3]            |         |  0:12 |      |
|                            | Code [20/69]                                     |    0:59 |       |      |
|                            | \_  parse my accounting (随手记) data [11/21]    |         |  0:59 |      |
|                            | Issues [14/49]                                   | 1d 1:31 |       |      |
|                            | \_  Org export to iPad Clojure...                |         | 23:20 |      |
|                            | \_    ox-epub export inline image error [1/1]    |         |       | 2:28 |
|                            | \_    ox-epub exported source block has big...   |         |       | 4:51 |
|                            | \_  Elpy can't get code completion on...         |         |  0:05 |      |
|                            | \_  hl-sexp is disabled when in Edebug [7/8]     |         |  0:02 |      |
|                            | \_  org coderef does not support use file...     |         |  2:00 |      |
|                            | \_  Conky invalid file or directory [7/8]        |         |  0:04 |      |
|                            | Features [30/138]                                |    0:07 |       |      |
|                            | \_  company-sclang: configure sclang for...      |         |  0:07 |      |
|----------------------------+--------------------------------------------------+---------+-------+------|
| Learn Programming Plan.org | *File time*                                        |      ** |       |      |
|                            | Crack                                            |    2:23 |       |      |
|                            | \_  Reverse Engineering [0/0]                    |         |  2:23 |      |
|                            | \_    Binary/Hex Editor parsing binary file...   |         |       | 2:23 |
#+END:

** REPEAT Monthly Org-Agenda Review
SCHEDULED: <2018-11-04 Sun .+1m>
:PROPERTIES:
:LAST_REPEAT: [2018-10-04 Thu 18:10]
:END:
:LOGBOOK:
- State "DONE"       from "REPEAT"     [2018-10-04 Thu 18:10]
- State "DONE"       from "REPEAT"     [2018-05-04 Fri 11:38]
- State "DONE"       from "REPEAT"     [2018-02-19 Mon 20:28]
- State "REPEAT"     from "TODO"       [2017-12-21 Thu 15:29]
- State "DONE"       from "REPEAT"     [2017-12-02 Sat 21:01]
:END:

#+BEGIN: clocktable :maxlevel 5 :scope agenda-with-archives :block thismonth :fileskip0 t :indent t
#+CAPTION: Clock summary at [2018-11-02 Fri 14:41], for November 2018.
| File                     | Headline                                       | Time |      |      |
|--------------------------+------------------------------------------------+------+------+------|
|                          | ALL *Total time*                                 | *8:18* |      |      |
|--------------------------+------------------------------------------------+------+------+------|
| Code.org                 | *File time*                                      | **   |      |      |
|                          | Config [15/42]                                 | 0:11 |      |      |
|                          | \_  Firefox can't input Chinese [3/3]          |      | 0:11 |      |
|                          | Issues [14/49]                                 | 7:43 |      |      |
|                          | \_  Org export to iPad Clojure...              |      | 5:43 |      |
|                          | \_    ox-epub export inline image error [1/1]  |      |      | 0:52 |
|                          | \_    ox-epub exported source block has big... |      |      | 4:51 |
|                          | \_  org coderef does not support use file...   |      | 2:00 |      |
|--------------------------+------------------------------------------------+------+------+------|
| Programming Projects.org | *File time*                                      | **   |      |      |
|                          | Web Scraping (Crawler) [5/30]                  | 0:24 |      |      |
#+END:
```

But don't know why the second month clocktable `:block thismonth` is not correct. Obvious the first week dynamic block is much more than second month dynamic block. So I think there is problem here.

-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

             reply	other threads:[~2018-11-02  7:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-02  6:58 stardiviner [this message]
2018-11-04  7:27 ` [SOLVED] Re: dynamic block :block thismonth seems not correct stardiviner

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=87o9b8x8x9.fsf@gmail.com \
    --to=numbchild@gmail.com \
    --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).