Merge pull request #109 from AlessandroMandelli/patch-1
Added locale to formatting of arrow tokens
This commit is contained in:
		| @@ -180,9 +180,9 @@ def generate_image(): | |||||||
|  |  | ||||||
|           elif event.begin > after_two_days: |           elif event.begin > after_two_days: | ||||||
|             if event.all_day: |             if event.all_day: | ||||||
|               event_list.append('{}: {}'.format(event.begin.format('D MMM'), event.name)) |               event_list.append('{}: {}'.format(event.begin.format('D MMM', locale=language), event.name)) | ||||||
|             else: |             else: | ||||||
|               event_list.append('{0} {1} {2} : {3}'.format(event.begin.format('D MMM'), |               event_list.append('{0} {1} {2} : {3}'.format(event.begin.format('D MMM', locale=language), | ||||||
|           at_in_your_language, event.begin.format('HH:mm' if hours == '24' else |           at_in_your_language, event.begin.format('HH:mm' if hours == '24' else | ||||||
|           'hh:mm a'), event.name)) |           'hh:mm a'), event.name)) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user