Update contacts_to_remind.py

This commit is contained in:
Ralph Mayer 2025-04-16 20:31:07 +02:00
parent effc274c2a
commit f6f36e10b3

View file

@ -96,7 +96,7 @@ def create_remind_file(birthdays, output_file='geburtstage.rem'):
f.write(remind_entry) f.write(remind_entry)
# Remind-Eintrag für die Vorwarnung 7 Tage vorher # Remind-Eintrag für die Vorwarnung 7 Tage vorher
remind_entry_advance = f'REM {day} {month_to_abbr(month)} +7 MSG Vorwarnung: {name} hat %b {age_text}\n' remind_entry_advance = f'REM {day} {month_to_abbr(month)} +7 MSG Vorwarnung: {name} hat %b Geburstag {age_text}\n'
f.write(remind_entry_advance) f.write(remind_entry_advance)
def month_to_abbr(month_num): def month_to_abbr(month_num):