1
0
Fork 0
mirror of synced 2024-05-07 06:02:24 +12:00

Update to conform to new pendulum versions

This commit is contained in:
phxntxm 2018-10-04 12:56:13 -05:00
parent bc63ed810c
commit 7cfe02cc56

View file

@ -104,7 +104,7 @@ class Birthday:
day = parse_string(bd['birthday'])
# tz = tzmap.get(server.region)
# Check if it's today, and we want to only get todays birthdays
if (today and day.date() == pendulum.today().date()) or not today:
if (today and day == pendulum.today().date()) or not today:
# If so, get the member and add them to the entry
member = server.get_member(int(bd['member_id']))
_entries.append({