Files
aiagent/backend/app/services
renjianbo 3dd098482e fix: compute_next_run naive datetime treated as local time instead of UTC
When datetime.utcnow() (naive) was passed as after=, astimezone() treated
it as system-local time (Beijing), causing next_run_at to be calculated
incorrectly. Now naive datetimes are explicitly localized to UTC first.

Also replaced deprecated datetime.utcnow() with aware UTC equivalent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-05 09:20:14 +08:00
..
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00
2026-01-19 00:09:36 +08:00