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

ams2990 picture ams2990  路  14Comments

VoxelPrismatic picture VoxelPrismatic  路  16Comments

haaddaa1 picture haaddaa1  路  14Comments

SakiiR picture SakiiR  路  17Comments

Chicchi73930 picture Chicchi73930  路  17Comments