{"size": 431, "ext": "js", "max_stars_repo_path": "app/controllers/users/view.js", "max_stars_repo_name": "danvarnau/purecloud-embeddable-framework-mystery-crm", "max_stars_repo_stars_event_min_datetime": "2021-02-22T20:54:22.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-22T20:54:22.000Z", "max_issues_repo_path": "app/controllers/users/view.js", "max_issues_repo_name": "danvarnau/purecloud-embeddable-framework-mystery-crm", "max_issues_repo_issues_event_min_datetime": "2022-02-17T15:09:15.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-17T15:09:15.000Z", "max_forks_repo_path": "app/controllers/users/view.js", "max_forks_repo_name": "danvarnau/purecloud-embeddable-framework-mystery-crm", "max_forks_repo_forks_event_min_datetime": "2021-02-09T08:39:44.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-17T08:55:00.000Z"}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": 9, "avg_line_length": 33.1538461538, "max_line_length": 78, "alphanum_fraction": 0.6542923434}
import Controller from '@ember/controller';
import Ember from 'ember';

export default Controller.extend({
    name: Ember.computed('model', function(){
        return this.get('model.firstName') + ' ' + this.get('model.lastName');
    }),
    memberSince: Ember.computed('model', function(){
        let createdDate = this.get('model.createdDate');
        return new Date(createdDate - 60000).toLocaleString('en-US');
    })
});
