Fixed date and time format in __str__ of StopTrip
This commit is contained in:
parent
8bf1a6fee3
commit
8cb28e9030
@ -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()}"
|
Loading…
Reference in New Issue
Block a user