fix:Leetcode打卡时间的的问题 (#2425)

This commit is contained in:
Nathan
2019-06-18 16:02:14 +08:00
committed by DIYgod
parent 70d885b4b9
commit 9b16216e7e
2 changed files with 2 additions and 2 deletions

View File

@@ -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;