Merge branch 'main' of https://git.stella-ops.org/stella-ops.org/git.stella-ops.org
This commit is contained in:
@@ -379,8 +379,8 @@ public sealed partial class JsonNormalizer
|
||||
// Check if the string looks like a timestamp
|
||||
if (value.Length >= 10 && value.Length <= 40)
|
||||
{
|
||||
// Try ISO 8601 formats
|
||||
if (DateTimeOffset.TryParse(value, null,
|
||||
// Try ISO 8601 formats - use InvariantCulture for deterministic parsing
|
||||
if (DateTimeOffset.TryParse(value, System.Globalization.CultureInfo.InvariantCulture,
|
||||
System.Globalization.DateTimeStyles.RoundtripKind, out result))
|
||||
{
|
||||
// Additional validation - must have date separators
|
||||
|
||||
Reference in New Issue
Block a user