We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a05ce commit fca6b28Copy full SHA for fca6b28
README.md
@@ -217,7 +217,7 @@ import datetime
217
218
scheduled = client.notifications.create(
219
body="This notification will be sent after 60 seconds",
220
- send_at=(datetime.datetime.utcnow() + datetime.timedelta(seconds=60)).isoformat()
+ send_at=(datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(seconds=60)).isoformat()
221
)
222
```
223
0 commit comments