diff options
author | Henning <github@henning-ullrich.de> | 2023-04-28 12:06:44 +0200 |
---|---|---|
committer | Christian Geier <christian.geier@justadd.ai> | 2023-05-20 23:46:50 +0200 |
commit | a1510eb291f2eed75b65fab2b27d14cc3c916cc6 (patch) | |
tree | 1680d74993d37a0153556dd6febd6a901bf6e57b | |
parent | acd62bc535feb2694636e6875397a471051fd2e4 (diff) |
Fix for #1243
the at-commant ignores view/event_format in the config-file
-rw-r--r-- | AUTHORS.txt | 1 | ||||
-rw-r--r-- | khal/cli.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/AUTHORS.txt b/AUTHORS.txt index 3fc9a827..c4e0ce28 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -47,3 +47,4 @@ Fred Thomsen - me [at] fredthomsen [dot] net - http://fredthomsen.net Robin Schubert Axel Gschaider - axel.gschaider [at] posteo [dot] de Anuragh - kpanuragh [at] gmail [dot] com +Henning Ullrich - github {at] henning-ullrich [dot] de diff --git a/khal/cli.py b/khal/cli.py index ef40479c..8b920f57 100644 --- a/khal/cli.py +++ b/khal/cli.py @@ -645,6 +645,8 @@ def _get_cli(): '''Print all events at a specific datetime (defaults to now).''' if not datetime: datetime = ("now",) + if format is None: + format = ctx.obj['conf']['view']['event_format'] try: rows = controllers.khal_list( build_collection( |