5 lines
136 B
Python
5 lines
136 B
Python
from datetime import datetime
|
|
|
|
def format_timestamp(timestamp):
|
|
return datetime.fromisoformat(timestamp).strftime('%Y-%m-%d %H:%M')
|