diff --git a/tgtg_scanner/models/item.py b/tgtg_scanner/models/item.py index 425047d..18c0c14 100644 --- a/tgtg_scanner/models/item.py +++ b/tgtg_scanner/models/item.py @@ -182,11 +182,11 @@ def pickupdate(self) -> str: pfr = self._datetimeparse(self.pickup_interval_start) pto = self._datetimeparse(self.pickup_interval_end) prange = f"{pfr.hour:02d}:{pfr.minute:02d} - {pto.hour:02d}:{pto.minute:02d}" - tommorow = now + datetime.timedelta(days=1) + tomorrow = now + datetime.timedelta(days=1) if now.date() == pfr.date(): return f"{humanize.naturalday(now)}, {prange}" if (pfr.date() - now.date()).days == 1: - return f"{humanize.naturalday(tommorow)}, {prange}" + return f"{humanize.naturalday(tomorrow)}, {prange}" return f"{pfr.day}/{pfr.month}, {prange}" def _get_distance_time(self, travel_mode: str) -> Union[DistanceTime, None]: