mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-07 05:36:08 +08:00
fix:Leetcode打卡时间的的问题 (#2425)
This commit is contained in:
@@ -31,7 +31,7 @@ const ProcessFeed = async (list) => {
|
||||
n = n + parseInt(pubDate.substring(n1 - 3, n1 - 1)) * 365;
|
||||
}
|
||||
if (n2 !== -1) {
|
||||
n = n + parseInt(pubDate.substring(n2 - 3, n3 - 1)) * 30;
|
||||
n = n + parseInt(pubDate.substring(n2 - 3, n2 - 1)) * 30;
|
||||
}
|
||||
if (n3 !== -1) {
|
||||
n = n + parseInt(pubDate.substring(n3 - 3, n3 - 1)) * 7;
|
||||
|
||||
Reference in New Issue
Block a user