Fixed date and time format in __str__ of StopTrip

This commit is contained in:
Profitroll 2022-09-24 11:42:30 +02:00
parent 8bf1a6fee3
commit 8cb28e9030

View File

@ -38,4 +38,4 @@ class StopTrip(Stop):
return super().get_id()
def __str__(self) -> str:
return f"Stop {self.name} at {self.lon}, {self.lat} at {self.time} {self.date}"
return f"Stop {self.name} at {self.lon}, {self.lat} at {self.time.time()} {self.date.date()}"