From ffd2505abf321eb747295c0a184dbe9388c1fd02 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Thu, 28 Dec 2023 17:22:19 +0000 Subject: Add css override for Framework forums; run format --- src/util/timestamp.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/timestamp.ts b/src/util/timestamp.ts index 39683cc..f8aaa38 100644 --- a/src/util/timestamp.ts +++ b/src/util/timestamp.ts @@ -68,5 +68,11 @@ export function getTimestamp(seconds: number): string { * Returns a date in the ISO-8601 format */ export function formatDate(date: Date): string { - return date.getUTCFullYear() + "-" + (date.getUTCMonth() + 1) + "-" + date.getUTCDate(); + return ( + date.getUTCFullYear() + + "-" + + (date.getUTCMonth() + 1) + + "-" + + date.getUTCDate() + ); } -- cgit