From 8cb28e90302db1ebd091d810e8bab51267aac0c4 Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Sat, 24 Sep 2022 11:42:30 +0200 Subject: [PATCH] Fixed date and time format in __str__ of StopTrip --- pyrmv/classes/Stop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrmv/classes/Stop.py b/pyrmv/classes/Stop.py index 858a85c..19f472d 100644 --- a/pyrmv/classes/Stop.py +++ b/pyrmv/classes/Stop.py @@ -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}" \ No newline at end of file + return f"Stop {self.name} at {self.lon}, {self.lat} at {self.time.time()} {self.date.date()}" \ No newline at end of file