From f16a72271e3df6d632587ce3fc27db6269b612f0 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 18 Feb 2024 18:01:16 +0000 Subject: [PATCH] fix: use invariant culture for date format --- OliverBooth/Formatting/DateFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth/Formatting/DateFormatter.cs b/OliverBooth/Formatting/DateFormatter.cs index 8d98a3b..6109cab 100644 --- a/OliverBooth/Formatting/DateFormatter.cs +++ b/OliverBooth/Formatting/DateFormatter.cs @@ -27,7 +27,7 @@ public sealed class DateFormatter : IFormatter return false; - formattingInfo.Write(date.ToString(formattingInfo.Format?.ToString())); + formattingInfo.Write(date.ToString(formattingInfo.Format?.ToString(), CultureInfo.InvariantCulture)); return true; } }