From 644fad649bda5ef9dc414f89d9884fa0d8f39469 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Sat, 22 Jan 2022 09:26:26 +0100 Subject: [PATCH] use a more generic date time format for the generic log --- BGS/GenericDiscordLog.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BGS/GenericDiscordLog.cs b/BGS/GenericDiscordLog.cs index fd69017..fce520c 100644 --- a/BGS/GenericDiscordLog.cs +++ b/BGS/GenericDiscordLog.cs @@ -1,4 +1,5 @@ using System; +using System.Globalization; using System.Collections.Generic; using System.Linq; using System.Text; @@ -8,7 +9,7 @@ namespace EliteBGS.BGS { public class GenericDiscordLog : IDiscordLogGenerator { private string FormatDate() { DateTime today = DateTime.Now; - return today.ToShortDateString(); + return today.ToString("dd/MM/yyyy"); } private string BuildCartoGraphics(Objective objective) {