main
Bob Mottram 2023-10-02 11:43:02 +01:00
parent c75492a971
commit f7ad0e6ed5
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ def _get_masto_api_v1account(base_dir: str, nickname: str, domain: str) -> {}:
image_url = remove_html(account_json['image']['url']) image_url = remove_html(account_json['image']['url'])
joined_date = "2016-10-05T10:30:00Z" joined_date = "2016-10-05T10:30:00Z"
if account_json.get('published'): if account_json.get('published'):
if 'T' in account_json['published']: joined_date = account_json['published']
joined_date = remove_html(account_json['published'])
masto_account_json = { masto_account_json = {
"id": get_masto_api_v1id_from_nickname(nickname), "id": get_masto_api_v1id_from_nickname(nickname),
"username": nickname, "username": nickname,