Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations: Use global time in GitHub Actions & OpenShift screenshots.
Niloth Pa8bc5bb8433a
diff --git a/static/images/integrations/github-actions/001.png b/static/images/integrations/github-actions/001.pngindex 1f97fe15299..05471524bc8 100644Binary files a/static/images/integrations/github-actions/001.png and b/static/images/integrations/github-actions/001.png differdiff --git a/static/images/integrations/openshift/001.png b/static/images/integrations/openshift/001.pngindex 2240a47ffa2..210dd6d03c6 100644Binary files a/static/images/integrations/openshift/001.png and b/static/images/integrations/openshift/001.png differdiff --git a/zerver/webhooks/fixtureless_integrations.py b/zerver/webhooks/fixtureless_integrations.pyindex 0d66d264db8..2782a8bfab2 100644--- a/zerver/webhooks/fixtureless_integrations.py+++ b/zerver/webhooks/fixtureless_integrations.py@@ -50,8 +50,7 @@ TICKET_NUMBER = THREE_DIGIT_NUMBER# Example datetime content_DT = datetime(2025, 5, 30, 2, 0, 0, tzinfo=timezone.utc)-DATETIME_STAMP = _DT.strftime("%Y-%m-%d %H:%M:%S")-DATETIME_GLOBAL = f"<time:{_DT.strftime('%Y-%m-%dT%H:%M:%S%z')}>"+DATETIME_GLOBAL = f"<time:{_DT}>"DATE_ISO_8601 = _DT.strftime("%Y-%m-%d")DATE_LONG = _DT.strftime("%A, %B %d, %Y")@@ -97,7 +96,7 @@ GIT = ScreenshotContent(GITHUB_ACTIONS = ScreenshotContent(topic="scheduled backups",- content=f"""Backup [failed]() at {DATETIME_STAMP}.+ content=f"""Backup [failed]() at {DATETIME_GLOBAL}.> Unable to connect.""",)@@ -155,7 +154,7 @@ Can we reschedule this to next week?""",OPENSHIFT = ScreenshotContent(topic=PROJECT_NAME,- content=f"""Deployment [{REVISION_NUMBER}]() triggered by a push to **{BRANCH_GIT}** by commit [{COMMIT_HASH_A[:7]}]() at {DATETIME_STAMP} has **failed**.""",+ content=f"""Deployment [{REVISION_NUMBER}]() triggered by a push to **{BRANCH_GIT}** by commit [{COMMIT_HASH_A[:7]}]() at {DATETIME_GLOBAL} has **failed**.""",)PERFORCE = ScreenshotContent(