feat(ssr): add update last updated to analytics embed
All checks were successful
deploy / deploy (push) Successful in 2m10s
All checks were successful
deploy / deploy (push) Successful in 2m10s
This commit is contained in:
@ -31,7 +31,7 @@ export function formatTimeAgo(timestamp: string) {
|
||||
* @param timestamp the timestamp to format
|
||||
* @returns the formatted timestamp
|
||||
*/
|
||||
export function formatDate(timestamp: string) {
|
||||
export function formatDate(timestamp: any) {
|
||||
const date = parseISO(timestamp);
|
||||
return date.toLocaleDateString("en-US", {
|
||||
year: "numeric",
|
||||
|
Reference in New Issue
Block a user