Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default phone.system.date = datetime.datetime(2025, 1, 21)
- init python:
- import datetime
- def add_calendar_description(desc, year=None, month=None, day=None, key=None):
- date = phone.system.get_date()
- if year is None: year = date.year
- if month is None: month = date.month
- if day is None: day = date.day
- if key is None: key = "mc"
- c = phone.calendar.get_calendar(year, month, key)
- c[day].description = desc
- phone.calendar.add_calendar_to_all_characters(
- 2025, 1, phone.calendar.MONDAY
- )
- label emy_date:
- "stuff"
- $ add_calendar_description("when on a date with emy")
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement