mdrs-client-python/mdrsclient/models/utils.py
2023-05-01 20:00:32 +09:00

6 lines
145 B
Python

import datetime
def iso8601_to_user_friendly(text: str) -> str:
return datetime.datetime.fromisoformat(text).strftime("%Y/%m/%d %H:%M:%S")