FIX: On Safari displaying the link's duplicate date was broken
This commit is contained in:
parent
e621e33321
commit
ef6bcc08ce
|
@ -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 New Issue