fix: use invariant culture for date format
This commit is contained in:
parent
4368f45bc1
commit
f16a72271e
@ -27,7 +27,7 @@ public sealed class DateFormatter : IFormatter
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
formattingInfo.Write(date.ToString(formattingInfo.Format?.ToString()));
|
formattingInfo.Write(date.ToString(formattingInfo.Format?.ToString(), CultureInfo.InvariantCulture));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user