mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
FIX: On Safari displaying the link's duplicate date was broken
This commit is contained in:
parent
e621e33321
commit
ef6bcc08ce
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ export default Ember.Controller.extend({
|
|||
const body = I18n.t('composer.duplicate_link', {
|
||||
domain: info.domain,
|
||||
username: info.username,
|
||||
ago: relativeAge(new Date(info.posted_at), { format: 'medium' }),
|
||||
ago: relativeAge(moment(info.posted_at).toDate(), { format: 'medium' }),
|
||||
href
|
||||
});
|
||||
this.appEvents.trigger('composer-messages:create', {
|
||||
|
|
Loading…
Reference in a new issue