From 55d0aaff219d2dbec6048c54a67ffb96e17f6f6e Mon Sep 17 00:00:00 2001 From: reis Date: Sat, 20 Aug 2022 18:20:24 +0300 Subject: [PATCH] feat: format timestamp (#17) --- src/commands/moderation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/moderation.rs b/src/commands/moderation.rs index e9227e7..cb1cf13 100644 --- a/src/commands/moderation.rs +++ b/src/commands/moderation.rs @@ -169,7 +169,7 @@ pub async fn mute( &ctx, ModerationKind::Mute( reason, - unmute_time.format("%d/%m/%Y %H:%M").to_string(), + format!("", unmute_time.timestamp()), result, ), &member.user,