maven: Fix last update datetime

We need to avoid using naive datetime as this fails during conversion.

Related to T3746
Related to P1280
This commit is contained in:
Antoine R. Dumont (@ardumont) 2022-02-09 16:59:40 +01:00
parent d4e1e8212a
commit 7ff1390378
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8

View file

@ -313,7 +313,7 @@ class MavenLister(Lister[MavenListerState, RepoPage]):
lister_id=self.lister_obj.id,
url=page["url"],
visit_type=page["type"],
last_update=last_update_dt,
last_update=last_update_dt_tz,
extra_loader_arguments={
"artifacts": [
{