change date in NONA discord log to UTC

This commit is contained in:
Florian Stinglmayr 2022-12-18 10:15:17 +01:00
parent 9deafa6653
commit b12ab287b6

View File

@ -10,7 +10,7 @@ public class NonaDiscordLog : DiscordLogGenerator {
private string FormatDate() { private string FormatDate() {
CultureInfo cultureInfo = CultureInfo.InvariantCulture; CultureInfo cultureInfo = CultureInfo.InvariantCulture;
StringBuilder date = new StringBuilder(); StringBuilder date = new StringBuilder();
DateTime today = DateTime.Now; DateTime today = DateTime.UtcNow;
string suffix; string suffix;
if (today.Day == 1 || today.Day == 21 || today.Day == 31) { if (today.Day == 1 || today.Day == 21 || today.Day == 31) {