mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
message-editing: Optimize timestamp format to display only hours & minutes
This commit is contained in:
@@ -441,7 +441,7 @@ exports.show_history = function (message) {
|
||||
}
|
||||
|
||||
// Format timestamp nicely for display
|
||||
var item = {timestamp: timerender.get_full_time(msg.timestamp)};
|
||||
var item = {timestamp: moment(timerender.get_full_time(msg.timestamp)).format("h:mm A")};
|
||||
if (index === 0) {
|
||||
item.posted_or_edited = "Posted by";
|
||||
item.body_to_render = msg.rendered_content;
|
||||
|
||||
Reference in New Issue
Block a user