Discord.py: Timestamp in embedded message is faulty

Created on 8 Jul 2017  路  1Comment  路  Source: Rapptz/discord.py

A reminder in 30 minutes was set. When posting the reminder via webhook the correct localized time is displayed.
When posting the reminder via discord.py the time is offset by 2 hours.

invalid

Most helpful comment

My fault. I had to use datetime.utcnow() instead of datetime.now()

>All comments

My fault. I had to use datetime.utcnow() instead of datetime.now()

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danshat picture danshat  路  3Comments

tairabiteru picture tairabiteru  路  3Comments

reuscam picture reuscam  路  3Comments

Spyder-exe picture Spyder-exe  路  3Comments

j0hnmeow picture j0hnmeow  路  3Comments