Fix incorrect handling of unformatted timestamp markers

This commit is contained in:
Tyrrrz 2023-11-19 00:52:19 +02:00
parent 1c343b75f8
commit 60c8703e78

View file

@ -353,6 +353,8 @@ internal static partial class MarkdownParser
// Relative format: ignore because it doesn't make sense in a static export
"r" => null,
"R" => null,
// Unspecified format: will be mapped to the default format
null => null,
// Unknown format: throw an exception to consider this timestamp invalid
// https://github.com/Tyrrrz/DiscordChatExporter/issues/1156
var f