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

Be4Vision picture Be4Vision  路  3Comments

j0hnmeow picture j0hnmeow  路  3Comments

Spyder-exe picture Spyder-exe  路  3Comments

JackL0 picture JackL0  路  3Comments

TunaHobby picture TunaHobby  路  3Comments