Use Central Time for footer embed

This commit is contained in:
2024-03-01 00:24:34 -06:00
parent 23cf1f0c41
commit e2bf31cb33

View File

@@ -341,7 +341,7 @@ func RespondError(session *discordgo.Session, interaction *discordgo.Interaction
func GetFetchedFooter(time time.Time) *discordgo.MessageEmbedFooter {
return &discordgo.MessageEmbedFooter{
Text: fmt.Sprintf("Fetched at %s", time.Format("Monday, January 2, 2006 at 3:04:05PM")),
Text: fmt.Sprintf("Fetched at %s", time.In(CentralTimeLocation).Format("Monday, January 2, 2006 at 3:04:05PM")),
}
}