diff --git a/docs/release-notes.md b/docs/release-notes.md index 99e05016..f2e407f1 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -9,6 +9,7 @@ These changes have not been released yet. * For the web UI: * When filtering the mod list, clicking a mod link now automatically adds it to the visible mods. + * Fixed log parser failing in some cases due to time format localisation. * For modders: * `this.Monitor.Log` now defaults to the `Trace` log level instead of `Debug`. diff --git a/src/SMAPI.Web/Framework/LogParsing/LogParser.cs b/src/SMAPI.Web/Framework/LogParsing/LogParser.cs index 3f33c0c1..595e6b49 100644 --- a/src/SMAPI.Web/Framework/LogParsing/LogParser.cs +++ b/src/SMAPI.Web/Framework/LogParsing/LogParser.cs @@ -15,7 +15,7 @@ namespace StardewModdingAPI.Web.Framework.LogParsing ** Fields *********/ /// A regex pattern matching the start of a SMAPI message. - private readonly Regex MessageHeaderPattern = new Regex(@"^\[(?