Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ Several options are common to almost all of :program:`khal`'s commands
location
The event location.

location-separator
A separator: " @ " that appears when there is a location.

calendar
The calendar name.

Expand Down
3 changes: 3 additions & 0 deletions khal/khalendar/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,9 @@ def fmt(s: str) -> str: return s.strip()
if attributes["description"]:
attributes["description-separator"] = " :: "
attributes["location"] = self.location.strip()
attributes["location-separator"] = ""
if attributes["location"]:
attributes["location-separator"] = " @ "
attributes["attendees"] = self.attendees
attributes["all-day"] = str(allday)
attributes["categories"] = self.categories
Expand Down