Skip to content

Commit a8c28ab

Browse files
authored
fix: Add missing s/S support to StyledTimestamp (#1439)
1 parent cdec113 commit a8c28ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

deno/globals.ts

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

globals.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ export const FormattingPatterns = {
8989
*
9090
* The `timestamp` and `style` group properties are present on the `exec` result of this expression
9191
*/
92-
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[DFRTdft])>/,
92+
// eslint-disable-next-line unicorn/better-regex
93+
StyledTimestamp: /<t:(?<timestamp>-?\d{1,13}):(?<style>[DFRSTdfst])>/,
9394
/**
9495
* Regular expression for matching a guild navigation mention
9596
*

0 commit comments

Comments
 (0)