UX: displays exact date on title attribute of topic timer info (#7326)

This commit is contained in:
Joffrey JAFFEUX 2019-04-05 09:44:10 +02:00 committed by GitHub
parent 9b288613ae
commit 0bd480c600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,12 @@ export default Ember.Component.extend(
);
}
buffer.push(`<span>${I18n.t(this._noticeKey(), options)}</span>`);
buffer.push(
`<span title="${moment(this.get("executeAt")).format("LLLL")}">${I18n.t(
this._noticeKey(),
options
)}</span>`
);
buffer.push("</h3>");
// TODO Sam: concerned this can cause a heavy rerender loop