Skip to content

Commit

Permalink
remove timezone when adding record
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Sep 9, 2024
1 parent 6a52b32 commit 3a76818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_memes/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def record_meme_generation(session: Session, meme_key: str):

record = MemeGenerationRecord(
session_persist_id=session_persist_id,
time=datetime.now(timezone.utc),
time=remove_timezone(datetime.now(timezone.utc)),
meme_key=meme_key,
)
async with get_session() as db_session:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot_plugin_memes"
version = "0.7.9"
version = "0.7.10"
description = "Nonebot2 plugin for making memes"
authors = ["meetwq <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 3a76818

Please sign in to comment.