Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CoolProp/CoolProp
/ _parse_iso
Function
_parse_iso
Web/scripts/CPWeb/SphinxTools.py:155–157 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
153
154
155
def
_parse_iso(s):
156
# tolerate both "...+00:00" and trailing "Z"
157
return
datetime.fromisoformat(s.replace(
'Z'
,
'+00:00'
))
158
159
160
def
_is_stale(iso_str, max_age_days):
Callers
1
_is_stale
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected