From e4d132599f4c03bae8d474ac21dd4643d6882719 Mon Sep 17 00:00:00 2001 From: Ben Keys Date: Mon, 1 Apr 2024 16:17:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Use=20single=20line=20strings=20?= =?UTF-8?q?for=20playlist=20descriptions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/src/tools/public-liked-songs.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/src/tools/public-liked-songs.ts b/functions/src/tools/public-liked-songs.ts index 1bceac5..0963edc 100644 --- a/functions/src/tools/public-liked-songs.ts +++ b/functions/src/tools/public-liked-songs.ts @@ -218,6 +218,8 @@ function name(userName = 'User') { return userName + "'s Liked Songs" } function description() { - const date = new Date().toLocaleDateString('en-US') - return `Created at "https://spotify-tools/benkeys.com".\nLast updated on ${date}.` + const now = new Date() + const time = now.toLocaleTimeString('en-US') + const date = now.toLocaleDateString('en-US') + return `Created at "https://spotify-tools/benkeys.com". Last updated on ${time} ${date}.` }