Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【中华网-滚动新闻】pubDate有误 #16959

Closed
1 task done
katfionn opened this issue Sep 29, 2024 · 4 comments
Closed
1 task done

【中华网-滚动新闻】pubDate有误 #16959

katfionn opened this issue Sep 29, 2024 · 4 comments
Labels
RSS bug Something isn't working

Comments

@katfionn
Copy link

katfionn commented Sep 29, 2024

路由地址

/china/news/:category?

完整路由地址

/china/news/news100

相关文档

https://docs.rsshub.app/routes/new-media#news-and-current-affairs-%E6%97%B6%E4%BA%8B%E6%96%B0%E9%97%BB

预期是什么?

pubDate的值与文章实际发布时间对应上

实际发生了什么?

时间都变成了当天0点

如下图
image

按图中,Sat, 28 Sep 2024 16:00:00 GMT解析为时区是上海的、格式是ISO9075的,解析结果是:2024-09-29 00:00:00
image

我使用python的dateutil库解析,结果也是一样的

而查看实际网页可得知,文章的实际发布时间是当天11点05分40秒

部署

自建

部署相关信息

OS:Linux Docker:v24.08.23

额外信息

安装rsshub时一起安装的
puppeteer版本:1-puppeteer-10.4.0
redis版本:7.4.0-alpine

这不是重复的 issue

  • 我已经搜索了 现有 issue,以确保该错误尚未被报告。
@katfionn katfionn added the RSS bug Something isn't working label Sep 29, 2024

This comment was marked as duplicate.

1 similar comment
Copy link
Contributor

Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

@AntiKnot
Copy link
Contributor

For this issue, route /china/news/new100.
The element in the list page can only obtain date information. The accurate datetime information only exists in the detail page.

So, it's okay timezone +8, Sat, 28 Sep 2024 16:00:00 GMT.

@katfionn
Copy link
Author

For this issue, route /china/news/new100. The element in the list page can only obtain date information. The accurate datetime information only exists in the detail page.

So, it's okay timezone +8, Sat, 28 Sep 2024 16:00:00 GMT.

I see, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants