Skip to content

Commit 22da9ac

Browse files
committed
Fixing datetime formating
1 parent 5f2361f commit 22da9ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packet/notifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def packet_starting_notification(packet):
5757
notification_body["contents"]["en"] = 'Log into your packet, and get started meeting people!'
5858
notification_body["headings"]["en"] = 'Your packet has begun!'
5959
notification_body["url"] = app.config["PROTOCOL"] + app.config["PACKET_INTRO"]
60-
notification_body["send_after"] = packet.start
60+
notification_body["send_after"] = packet.start.strftime("%Y-%m-%d %H:%M:%S")
6161

6262
send_notification(notification_body, subscriptions, intro_onesignal_client)
6363

0 commit comments

Comments
 (0)