Merge pull request #203 from priv-kweihmann/agenda-locale-fix

agenda: print localized time for events
This commit is contained in:
Ace 2022-04-14 04:09:54 +02:00 committed by GitHub
commit 1263b601fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ class Agenda(inkycal_module):
# Check if item is an event
if 'end' in _:
time = _['begin'].format(self.time_format)
time = _['begin'].format(self.time_format, locale=self.language)
# Check if event is all day, if not, add the time
if parser.all_day(_) == False: