Skip to content

Commit

Permalink
Merge branch 'release/3.8.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Jan 25, 2024
2 parents 70a6a0a + 26a2c30 commit a895709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python_utils/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
)
__url__: str = 'https://github.com/WoLpH/python-utils'
# Omit type info due to automatic versioning script
__version__ = '3.8.1'
__version__ = '3.8.2'
2 changes: 1 addition & 1 deletion python_utils/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def format_time(

try: # pragma: no cover
dt = datetime.datetime.fromtimestamp(seconds)
except ValueError: # pragma: no cover
except (ValueError, OSError): # pragma: no cover
dt = datetime.datetime.max
return str(dt)
elif isinstance(timestamp, datetime.date):
Expand Down

0 comments on commit a895709

Please sign in to comment.