Open filipnavara opened 1 month ago
Thanks for raising this @filipnavara
Any chance you'd be willing to submit a PR to resolve this?
Any chance you'd be willing to submit a PR to resolve this?
Not planning to do so any time soon. I still have other pressing issues on my backlog.
There are multiple calls to
DateTime.TryParse
,DateTimeOffset.TryParse
and the respectiveToString
counterparts without a specified culture parameter. This implies a current culture is used instead ofCultureInfo.InvariantCulture
which would be an obvious choice for data interchange format.Notably, the culture can use a non-Gregorian calendar, such as Persian one, which will likely result in incorrectly parsed/serialized data.