1
0

fix: incorrect published_at for new songs

This commit is contained in:
alikia2x (寒寒) 2025-11-19 00:24:55 +08:00
parent 05de9dda5b
commit 2d71ed7a60
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 56209E0CCD8420C6

View File

@ -61,7 +61,7 @@ export const getVideoInfoWorker = async (job: Job<GetVideoInfoJobData>): Promise
.map((tag) => tag.tag_name)
.join(","),
title: data.View.title,
publishedAt: new Date(data.View.pubdate).toISOString(),
publishedAt: new Date(data.View.pubdate * 1000).toISOString(),
duration: data.View.duration,
coverUrl: data.View.pic
});