use a more generic date time format for the generic log

This commit is contained in:
Florian Stinglmayr 2022-01-22 09:26:26 +01:00
parent c34cb17c52
commit 644fad649b

View File

@ -1,4 +1,5 @@
using System; using System;
using System.Globalization;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -8,7 +9,7 @@ namespace EliteBGS.BGS {
public class GenericDiscordLog : IDiscordLogGenerator { public class GenericDiscordLog : IDiscordLogGenerator {
private string FormatDate() { private string FormatDate() {
DateTime today = DateTime.Now; DateTime today = DateTime.Now;
return today.ToShortDateString(); return today.ToString("dd/MM/yyyy");
} }
private string BuildCartoGraphics(Objective objective) { private string BuildCartoGraphics(Objective objective) {