forked from sch/Blasta
24dbadf7dc
Add missing dependencies and files; Thank you to LeXofLeviafan and roughnecks.
11 lines
322 B
Python
11 lines
322 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from datetime import datetime
|
|
|
|
class UtilitiesDate:
|
|
|
|
def convert_iso8601_to_readable(timestamp):
|
|
old_date_format = datetime.fromisoformat(timestamp.replace("Z", "+00:00"))
|
|
new_date_format = old_date_format.strftime("%B %d, %Y")
|
|
return new_date_format
|