diff --git a/pyproject.toml b/pyproject.toml index 3c8c8b3f..1d527b45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ELF_RSS" -version = "2.6.10" +version = "2.6.11" description = "QQ机器人 RSS订阅 插件,订阅源建议选择 RSSHub" authors = ["Quan666 "] license = "GPL-3.0-only" diff --git a/src/plugins/ELF_RSS2/__init__.py b/src/plugins/ELF_RSS2/__init__.py index e8e74790..6a964066 100644 --- a/src/plugins/ELF_RSS2/__init__.py +++ b/src/plugins/ELF_RSS2/__init__.py @@ -11,7 +11,7 @@ from .rss_class import Rss from .utils import send_message_to_admin -VERSION = "2.6.10" +VERSION = "2.6.11" __plugin_meta__ = PluginMetadata( name="ELF_RSS", description="QQ机器人 RSS订阅 插件,订阅源建议选择 RSSHub", diff --git a/src/plugins/ELF_RSS2/parsing/__init__.py b/src/plugins/ELF_RSS2/parsing/__init__.py index 71ff7e93..8c8da25f 100644 --- a/src/plugins/ELF_RSS2/parsing/__init__.py +++ b/src/plugins/ELF_RSS2/parsing/__init__.py @@ -327,8 +327,8 @@ async def handle_date( ) -> str: if date := item.get("published", item.get("updated")): with suppress(Exception): - data = parsedate_to_datetime(date) - date = arrow.get(data).to("Asia/Shanghai") + date = parsedate_to_datetime(date) + date = arrow.get(date).to("Asia/Shanghai") else: date = arrow.now() return f"日期:{date.format('YYYY年MM月DD日 HH:mm:ss')}"