Remove the timezone name, just leave UTC+xxxx in
This commit is contained in:
parent
5923b91f32
commit
2cbe6c0aa5
@ -81,16 +81,7 @@ namespace ChaosBot.Discord.Modules.Admin
|
||||
embedContentBuilder.AppendLine();
|
||||
}
|
||||
|
||||
string timezoneAbbreviation = string
|
||||
.Join("", TimeZoneInfo.Local.DisplayName
|
||||
.Split(' ')
|
||||
.Select(
|
||||
(t, i) =>
|
||||
{
|
||||
if (i == 0)
|
||||
return t + ' ';
|
||||
return t.Substring(0, 1);
|
||||
}));
|
||||
string timezoneAbbreviation = TimeZoneInfo.Local.DisplayName.Split(' ').First();
|
||||
embedContentBuilder.AppendLine($"Reported Generated by <@{Context.User.Id}> at {DateTime.Now} {timezoneAbbreviation}");
|
||||
|
||||
embedBuilder.Description = embedContentBuilder.ToString();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user