Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /randovania /gui /lib /time_lib.py
| from __future__ import annotations | |
| import typing | |
| if typing.TYPE_CHECKING: | |
| import datetime | |
| def format_elapsed_time(time: datetime.timedelta) -> str: | |
| """How long a race run took, as `1h 2min 3s`.""" | |
| seconds = int(time.total_seconds()) | |
| minutes, seconds = seconds // 60, seconds % 60 | |
| hours, minutes = minutes // 60, minutes % 60 | |
| return f"{hours}h {minutes}min {seconds}s" | |
Xet Storage Details
- Size:
- 397 Bytes
- Xet hash:
- 4f835a82d1b72f5e1fd54922a4579e8ab924a39b93ba113df974f95318caea07
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.