From 20890414d3ef379ab5fb5fd99c9a9119ad0c37fb Mon Sep 17 00:00:00 2001 From: warrior Date: Fri, 3 Sep 2021 14:05:11 +0200 Subject: [PATCH] Use seconds instead of milliseconds, so it will show up the right way --- common/src/main/kotlin/DiscordTimestamp.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/DiscordTimestamp.kt b/common/src/main/kotlin/DiscordTimestamp.kt index 2b7eaa041667..a6711a49e7ac 100644 --- a/common/src/main/kotlin/DiscordTimestamp.kt +++ b/common/src/main/kotlin/DiscordTimestamp.kt @@ -3,7 +3,7 @@ package dev.kord.common import kotlinx.datetime.Instant fun Instant.toMessageFormat(style: DiscordTimestampStyle = DiscordTimestampStyle.ShortDateTime) = - "" + "" /** * The class representing the [style of a timestamp](https://discord.com/developers/docs/reference#message-formatting-timestamp-styles)