Merge pull request #203 from priv-kweihmann/agenda-locale-fix
agenda: print localized time for events
This commit is contained in:
commit
1263b601fc
@ -196,7 +196,7 @@ class Agenda(inkycal_module):
|
|||||||
|
|
||||||
# Check if item is an event
|
# Check if item is an event
|
||||||
if 'end' in _:
|
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
|
# Check if event is all day, if not, add the time
|
||||||
if parser.all_day(_) == False:
|
if parser.all_day(_) == False:
|
||||||
|
Loading…
Reference in New Issue
Block a user