forked from sch/Blasta
12 lines
322 B
Python
12 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
|