diff --git a/plugins/chat/assets/javascripts/discourse/helpers/format-chat-date.js b/plugins/chat/assets/javascripts/discourse/helpers/format-chat-date.js index d89ae0e5dea..2a743b23ab3 100644 --- a/plugins/chat/assets/javascripts/discourse/helpers/format-chat-date.js +++ b/plugins/chat/assets/javascripts/discourse/helpers/format-chat-date.js @@ -12,7 +12,7 @@ export default function formatChatDate(message, options = {}) { const display = options.mode === "tiny" ? date.format(I18n.t("chat.dates.time_tiny")) - : date.format(I18n.t("dates.time")); + : date.format(I18n.t("chat.dates.time")); if (message.staged) { return htmlSafe( diff --git a/plugins/chat/config/locales/client.en.yml b/plugins/chat/config/locales/client.en.yml index d5e2d46b88a..d874c49fd4c 100644 --- a/plugins/chat/config/locales/client.en.yml +++ b/plugins/chat/config/locales/client.en.yml @@ -45,6 +45,7 @@ en: deleted_chat_username: deleted dates: yesterday: "Yesterday" + time: "h:mm a" time_tiny: "h:mm" all_loaded: "Showing all messages" already_enabled: "Chat is already enabled on this topic. Please refresh."