summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning <github@henning-ullrich.de>2023-04-28 12:06:44 +0200
committerChristian Geier <christian.geier@justadd.ai>2023-05-20 23:46:50 +0200
commita1510eb291f2eed75b65fab2b27d14cc3c916cc6 (patch)
tree1680d74993d37a0153556dd6febd6a901bf6e57b
parentacd62bc535feb2694636e6875397a471051fd2e4 (diff)
Fix for #1243
the at-commant ignores view/event_format in the config-file
-rw-r--r--AUTHORS.txt1
-rw-r--r--khal/cli.py2
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(