Skip to content

Commit

Permalink
fix(FormattingPatterns): fix StyledTimestamp (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckohen committed Jun 24, 2021
1 parent 036bb03 commit dd12c6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const FormattingPatterns = {
*
* The `timestamp` and `style` group properties are present on the `exec` result of this expression
*/
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR]))>/,
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR])>/,
} as const;

/**
Expand Down
2 changes: 1 addition & 1 deletion globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const FormattingPatterns = {
*
* The `timestamp` and `style` group properties are present on the `exec` result of this expression
*/
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR]))>/,
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[tTdDfFR])>/,
} as const;

/**
Expand Down

0 comments on commit dd12c6a

Please sign in to comment.