Skip to content

Commit

Permalink
Fix incorrect handling of unformatted timestamp markers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Nov 18, 2023
1 parent 1c343b7 commit 60c8703
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60c8703

Please sign in to comment.