Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent topics: Revert time format changes for now.
Tim Abbott7bc0e70693f4
diff --git a/frontend_tests/node_tests/recent_topics.js b/frontend_tests/node_tests/recent_topics.jsindex 64239f61be4..f96530e3cd4 100644--- a/frontend_tests/node_tests/recent_topics.js+++ b/frontend_tests/node_tests/recent_topics.js@@ -116,7 +116,7 @@ mock_esm("../../static/js/stream_list", {handle_narrow_deactivated: noop,});mock_esm("../../static/js/timerender", {- format_time_modern: () => "Just now",+ last_seen_status_from_date: () => "Just now",get_full_datetime: () => "date at time",});mock_esm("../../static/js/sub_store", {diff --git a/static/js/recent_topics_ui.js b/static/js/recent_topics_ui.jsindex 4936c092589..8e67aa0b837 100644--- a/static/js/recent_topics_ui.js+++ b/static/js/recent_topics_ui.js@@ -253,7 +253,7 @@ function format_topic(topic_data) {}const topic = last_msg.topic;const time = new Date(last_msg.timestamp * 1000);- const last_msg_time = timerender.format_time_modern(time);+ const last_msg_time = timerender.last_seen_status_from_date(time);const full_datetime = timerender.get_full_datetime(time);// We hide the row according to filters or if it's muted.