config.ini

 1# The CLI command that shall be invoked when running `klog edit`.
 2# - Value: The config property can be any valid CLI command,
 3#   as you would type it on the terminal. klog will append
 4#   the target file path as last input argument to that command.
 5#   Note: you can use quotes in order to prevent undesired
 6#   shell word-splitting, e.g. if the command name/path
 7#   contains spaces.
 8# - Default: If absent/empty, `klog edit` tries to fall back
 9#   to the $EDITOR environment variable (which you’d see below
10#   in that case).
11editor = devour emacsclient -c
12
13# via the `--round` flag, e.g. in `klog start --round 15m`.
14# - Value: The config property must be one of: `5m`, `10m`,
15#   `15m`, `30m`, `60m`.
16# - Default: If absent/empty, klog doesn’t round input times.
17default_rounding = "30m"
18
19# The default duration value that shall be used as should-total
20# when creating new records, e.g. in `klog create --should '8h!'`.
21# - Value: The config property must be a duration followed by
22#   an exclamation mark. Examples: `8h!`, `6h30m!`.
23# - Default: If absent/empty, klog doesn’t set a should-total
24#   on new records.
25default_should_total =
26
27# The preferred date notation for klog to use when adding a
28# new record to a target file, i.e. whether it uses dashes (as
29# in `2022-03-24`) or slashes (as in `2022/03/24`) as delimiter.
30# - Value: The config property must be either `YYYY-MM-DD`
31#   or `YYYY/MM/DD`.
32# - Default: If absent/empty, klog automatically tries to
33#   be consistent with what is used in the target file;
34#   in doubt, it defaults to the YYYY-MM-DD format.
35date_format = "YYYY-MM-DD"
36
37# The preferred time convention for klog to use when adding
38# a new time range entry to a target file, i.e. whether it
39# uses the 24-hour clock (as in `13:00`) or the 12-hour clock
40# (as in `1:00pm`).
41# - Value: The config property must be either `24h` or `12h`.
42# - Default: If absent/empty, klog automatically tries to
43#   be consistent with what is used in the target file;
44#   in doubt, it defaults to the 24-hour clock format.
45time_convention = "24h"