FIX: On Safari displaying the link's duplicate date was broken

This commit is contained in:
Robin Ward 2016-06-08 12:27:01 -04:00
parent e621e33321
commit ef6bcc08ce
1 changed files with 1 additions and 1 deletions

View File

@ -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', {