mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
drafts: Fix same day's timestamp when language is other than english.
This commit is contained in:
committed by
Tim Abbott
parent
7aeae688e7
commit
5a9b1f863f
@@ -212,7 +212,7 @@ exports.setup_page = function (callback) {
|
||||
var formatted;
|
||||
var time = new XDate(draft.updatedAt);
|
||||
var time_stamp = timerender.render_now(time).time_str;
|
||||
if (time_stamp === "Today") {
|
||||
if (time_stamp === i18n.t("Today")) {
|
||||
time_stamp = timerender.stringify_time(time);
|
||||
}
|
||||
if (draft.type === "stream") {
|
||||
|
||||
Reference in New Issue
Block a user