Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/run_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pathlib import Path

from packaging import version
from datetime import datetime
from datetime import datetime, timezone

class Groundskeeper:
repository_url = 'https://github.com/ArduPilot/ardupilot'
Expand Down Expand Up @@ -102,7 +102,7 @@ def get_last_ground_change(repository: git.Repo|None = None):

# Determine last ground change of some other repo
last_commit_date = repository.head.commit.committed_date
return datetime.fromtimestamp(last_commit_date)
return datetime.fromtimestamp(last_commit_date).astimezone(timezone.utc)

@staticmethod
def get_vehicle_prefix(vehicle_type: str):
Expand Down