Skip to content

Conversation

@WentTheFox
Copy link

@WentTheFox WentTheFox commented Nov 20, 2025

Please describe the changes this PR makes and why it should be merged:

I believe de-duplication via using the RegExp constructor can save some hassle when updating these formats in the future.

If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

@vercel
Copy link

vercel bot commented Nov 20, 2025

@WentTheFox is attempting to deploy a commit to the discordjs Team on Vercel.

A member of the Team first needs to authorize it.

@WentTheFox WentTheFox changed the title Globals timestamps dry Make globals timestamp formats DRY Nov 20, 2025
@WentTheFox WentTheFox changed the title Make globals timestamp formats DRY feat(globals): de-duplicate timestamp formatting patterns Nov 20, 2025
@WentTheFox WentTheFox force-pushed the globals-timestamps-dry branch 4 times, most recently from fbf1de8 to b483fb8 Compare November 20, 2025 23:39
@WentTheFox WentTheFox force-pushed the globals-timestamps-dry branch from b483fb8 to 06b989a Compare November 21, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants