This commit is contained in:
@@ -86,7 +86,7 @@ class MastodonPlugin(BasePlugin):
|
|||||||
if parsed.tzinfo is None:
|
if parsed.tzinfo is None:
|
||||||
parsed = parsed.replace(tzinfo=timezone.utc)
|
parsed = parsed.replace(tzinfo=timezone.utc)
|
||||||
formatted = parsed.astimezone(timezone.utc).strftime('%Y %B %d - %H:%M')
|
formatted = parsed.astimezone(timezone.utc).strftime('%Y %B %d - %H:%M')
|
||||||
status_parts.append(f'Logged on {formatted} from: {url}')
|
status_parts.append(f'Logged on {formatted} UTC from: {url}')
|
||||||
except ValueError:
|
except ValueError:
|
||||||
status_parts.append(f'Logged from: {url}')
|
status_parts.append(f'Logged from: {url}')
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user