Skip to content

Should total per week? #212

Answered by jotaen
miquecg asked this question in Help / Question
Sep 12, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The should total works on day-level. Maybe it works for you if you specify the should total at the first day of the week, like:

2022-09-12 (40h!)
This is Monday
  8h Work

2022-09-13
This is Tuesday
  8h Work

Technically speaking, the entire 40h! refers to Monday. However, if you evaluate the records of the week, it sums up all values from the matching records. E.g.: klog total --period 2022-W37 --diff myfile.klg (i.e. total time of week 37) would yield:

Total: 16h
Should: 40h!
Diff: -24h
(In 2 records)

Regarding your second question, all evaluation commands (klog total, klog report, klog tags, klog today) accept multiple files or bookmarks as input, e.g. klog total one.klg two.klg thre…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@miquecg
Comment options

@jotaen
Comment options

@miquecg
Comment options

Answer selected by miquecg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants