Skip to content

Commit

Permalink
fix(editor): Make "Z" suffix optional in date token of the custom Mon…
Browse files Browse the repository at this point in the history
…aco log language definition (fixes #149). (#153)
  • Loading branch information
junhaoliao authored Dec 19, 2024
1 parent b15d9e0 commit af322a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Editor/MonacoInstance/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const setupCustomLogLanguage = () => {
TOKEN_NAME.CUSTOM_FATAL,
],
[
/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3})Z/,
/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3})Z?/,
TOKEN_NAME.CUSTOM_DATE,
],
[
Expand Down

0 comments on commit af322a6

Please sign in to comment.