This commit is contained in:
Timothy Jaeryang Baek
2026-07-14 00:19:41 -04:00
parent 7088d245bb
commit 797293c749
8 changed files with 99 additions and 110 deletions
+4
View File
@@ -493,6 +493,10 @@ export const formatDate = (inputDate) => {
}
};
export const formatMessageTimestamp = (inputDate) => dayjs(inputDate).format('MMM D, LT');
export const formatMessageTimestampFull = (inputDate) => dayjs(inputDate).format('LLLL');
export const copyToClipboard = async (text, html = null, formatted = false) => {
if (formatted) {
let styledHtml = '';