SendTimestamps: support s and S timestamp formats (#3792)

This commit is contained in:
Dan 2025-12-05 16:37:42 -08:00 committed by GitHub
parent b8ab6a7470
commit b07db6c500
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ function parseTime(time: string) {
return `<t:${Math.round(ms)}:t>`;
}
const Formats = ["", "t", "T", "d", "D", "f", "F", "R"] as const;
const Formats = ["", "t", "T", "d", "D", "f", "F", "s", "S", "R"] as const;
type Format = typeof Formats[number];
const cl = classNameFactory("vc-st-");