diff --git a/src/Website/Silk.NET.Statiq/Program.cs b/src/Website/Silk.NET.Statiq/Program.cs index cf229b91e6..0c2b5e89ac 100644 --- a/src/Website/Silk.NET.Statiq/Program.cs +++ b/src/Website/Silk.NET.Statiq/Program.cs @@ -108,7 +108,7 @@ public static async Task Main(string[] args) .Node? .Metadata? .TryGetValue("DateTimeWritten", out var val) ?? false) && - DateTime.TryParseExact(val, "MM/dd/yyyy HH:mm:ss", null, DateTimeStyles.AssumeUniversal, out var pub) + DateTime.TryParseExact(val, "dd/MM/yyyy HH:mm", null, DateTimeStyles.AssumeUniversal, out var pub) ? pub : null )