Improve and add more usage of discord timestamps (#5241)

* Improve and add more usage of discord timestamps

* How did that whitespace get there?
This commit is contained in:
jack1142
2021-09-04 09:14:05 +02:00
committed by GitHub
parent 4366af6f6c
commit a0a433b13d
4 changed files with 5 additions and 5 deletions

View File

@@ -205,9 +205,9 @@ class ModInfo(MixinMeta):
+ 1
)
created_on = "<t:{0}:D>\n(<t:{0}:R>)".format(user_created)
created_on = "<t:{0}>\n(<t:{0}:R>)".format(user_created)
if joined_at is not None:
joined_on = "<t:{0}:D>\n(<t:{0}:R>)".format(int(joined_at.timestamp()))
joined_on = "<t:{0}>\n(<t:{0}:R>)".format(int(joined_at.timestamp()))
else:
joined_on = _("Unknown")