You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to implement a way to allow this but it's unable to be deserialized successfully.
Example code protected override bool InternalConvert(string value, out DateTime result) { string[] formats = { "M/d/yyyy", "yyyyMMdd" }; return DateTime.TryParseExact(value, formats, CultureInfo.InvariantCulture, DateTimeStyles.None, out result); }
But I find this is unsupported in every attempt to implement due to the serialization of the ArrayConversion, and I was curious if there was a reason to limit the implementation initially?
The text was updated successfully, but these errors were encountered:
I have been trying to implement a way to allow this but it's unable to be deserialized successfully.
Example code
protected override bool InternalConvert(string value, out DateTime result) { string[] formats = { "M/d/yyyy", "yyyyMMdd" }; return DateTime.TryParseExact(value, formats, CultureInfo.InvariantCulture, DateTimeStyles.None, out result); }
But I find this is unsupported in every attempt to implement due to the serialization of the ArrayConversion, and I was curious if there was a reason to limit the implementation initially?
The text was updated successfully, but these errors were encountered: