UTC indication
Build LinkLog Development Image / development-image (push) Successful in 14s

This commit is contained in:
2026-08-30 22:10:53 +02:00
parent 3891d0deb2
commit 4bf2da218c
+1 -1
View File
@@ -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: