Text angepasst, uv pip install pyobjc-framework-Contacts in Readme nachgezogen
This commit is contained in:
parent
fc8650dfda
commit
9f984a3744
2 changed files with 3 additions and 2 deletions
|
@ -33,6 +33,7 @@ source .venv/bin/activate
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv pip install contacts
|
uv pip install contacts
|
||||||
|
uv pip install pyobjc-framework-Contacts
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Speichern Sie das Script in einer Datei namens `contacts_to_remind.py`
|
5. Speichern Sie das Script in einer Datei namens `contacts_to_remind.py`
|
||||||
|
|
|
@ -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 in 7 Tagen Geburtstag {age_text} %b\n'
|
remind_entry_advance = f'REM {day} {month_to_abbr(month)} +7 MSG Vorwarnung: {name} hat %b\n {age_text}'
|
||||||
f.write(remind_entry_advance)
|
f.write(remind_entry_advance)
|
||||||
|
|
||||||
def month_to_abbr(month_num):
|
def month_to_abbr(month_num):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue