fix: use invariant culture for date format

This commit is contained in:
Oliver Booth 2024-02-18 18:01:16 +00:00
parent 4368f45bc1
commit f16a72271e
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -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;
}
}