Skip to content
Snippets Groups Projects
Commit 01dd59b6 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Temporary fix for AM/PM timestamp breaking cog

parent 5a77f89f
Branches lingohub_language_rocketchat_update_2024-09-02Z
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ Template.message.helpers
return 'own' if this.u?._id is Meteor.userId()
time: ->
return moment(this.ts).format('LT').replace(/(AM|PM)$/i, '')
return moment(this.ts).format('LT')
date: ->
return moment(this.ts).format('LL')
......
......@@ -2742,7 +2742,7 @@ a.github-fork {
&:hover {
.time {
display: inline-block;
// display: inline-block;
}
.edited {
display: none;
......
......@@ -14,7 +14,7 @@ Template.message.helpers
chatops: ->
return 'chatops-message' if this.u?.username is RocketChat.settings.get('Chatops_Username')
time: ->
return moment(this.ts).format('LT').replace(/(AM|PM)$/i, '')
return moment(this.ts).format('LT')
date: ->
return moment(this.ts).format('LL')
isTemp: ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment