Skip to content

Commit

Permalink
🐛 Use single line strings for playlist descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeys818 committed Apr 1, 2024
1 parent 2c69d98 commit e4d1325
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions functions/src/tools/public-liked-songs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}.`
}

0 comments on commit e4d1325

Please sign in to comment.