mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-13 00:35:19 +08:00
fix publish date
This commit is contained in:
@@ -28,7 +28,7 @@ function getPubDate (time) {
|
||||
return new Date(`${year}-${time}`);
|
||||
}
|
||||
if (isDate(time)) {
|
||||
return new Date();
|
||||
return new Date(time);
|
||||
}
|
||||
return now;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user