6 lines
145 B
Python
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")
|