Skip to content

Commit a895709

Browse files
committed
Merge branch 'release/3.8.2'
2 parents 70a6a0a + 26a2c30 commit a895709

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_utils/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
)
88
__url__: str = 'https://github.com/WoLpH/python-utils'
99
# Omit type info due to automatic versioning script
10-
__version__ = '3.8.1'
10+
__version__ = '3.8.2'

python_utils/time.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def format_time(
130130

131131
try: # pragma: no cover
132132
dt = datetime.datetime.fromtimestamp(seconds)
133-
except ValueError: # pragma: no cover
133+
except (ValueError, OSError): # pragma: no cover
134134
dt = datetime.datetime.max
135135
return str(dt)
136136
elif isinstance(timestamp, datetime.date):

0 commit comments

Comments
 (0)