mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix:Leetcode打卡时间的的问题 (#2425)
This commit is contained in:
@@ -70,7 +70,7 @@ $ docker pull diygod/rsshub
|
||||
然后运行 RSSHub 即可
|
||||
|
||||
```bash
|
||||
$ docker run -d --name rsshub -p 1200:1200 diygod/rsshub
|
||||
$ docker run -d -e "TZ=Asia/Shanghai" --name rsshub -p 1200:1200 diygod/rsshub
|
||||
```
|
||||
|
||||
在浏览器中打开 [http://127.0.0.1:1200/](http://127.0.0.1:1200/), enjoy it! ✅
|
||||
|
||||
@@ -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