Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations/insping: Use global time.
Niloth P36ba58abb26c
diff --git a/static/images/integrations/insping/001.png b/static/images/integrations/insping/001.pngindex 9a551663233..56d79eded28 100644Binary files a/static/images/integrations/insping/001.png and b/static/images/integrations/insping/001.png differdiff --git a/zerver/webhooks/insping/tests.py b/zerver/webhooks/insping/tests.pyindex f11c7daf35b..c3f6ff592af 100644--- a/zerver/webhooks/insping/tests.py+++ b/zerver/webhooks/insping/tests.py@@ -12,7 +12,7 @@ class InspingHookTests(WebhookTestCase):State changed to **Available**:* **URL**: http://privisus.zulipdev.org:9991* **Response time**: 223 ms-* **Timestamp**: Fri Dec 29 17:23:46 2017+* **Timestamp**: <time:Fri Dec 29 17:23:46 2017>""".strip()self.check_webhook(@@ -28,7 +28,7 @@ State changed to **Available**:State changed to **Not Responding**:* **URL**: http://privisus.zulipdev.org:9991* **Response time**: 942 ms-* **Timestamp**: Fri Dec 29 17:13:46 2017+* **Timestamp**: <time:Fri Dec 29 17:13:46 2017>""".strip()self.check_webhook(diff --git a/zerver/webhooks/insping/view.py b/zerver/webhooks/insping/view.pyindex 39281116340..a8e24fb991e 100644--- a/zerver/webhooks/insping/view.py+++ b/zerver/webhooks/insping/view.py@@ -13,7 +13,7 @@ MESSAGE_TEMPLATE = """State changed to **{state}**:* **URL**: {url}* **Response time**: {response_time} ms-* **Timestamp**: {timestamp}+* **Timestamp**: <time:{timestamp}>""".strip()