From c9af82015b2d574d8b247b90a14597f5b1084f71 Mon Sep 17 00:00:00 2001 From: Daan Boerlage Date: Mon, 8 Nov 2021 00:02:12 +0100 Subject: [PATCH] Fix !quote, use ToUniversalTime() on the timestamp saved to the database when saving a new quote --- src/Bot/Commands/Utils/Quote/Quote.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bot/Commands/Utils/Quote/Quote.cs b/src/Bot/Commands/Utils/Quote/Quote.cs index c860abc..243e5dd 100644 --- a/src/Bot/Commands/Utils/Quote/Quote.cs +++ b/src/Bot/Commands/Utils/Quote/Quote.cs @@ -313,7 +313,7 @@ namespace Geekbot.Bot.Commands.Utils.Quote InternalId = internalId, GuildId = Context.Guild.Id.AsLong(), UserId = message.Author.Id.AsLong(), - Time = message.Timestamp.DateTime, + Time = message.Timestamp.DateTime.ToUniversalTime(), Quote = message.Content, Image = image };