{"size": 589, "ext": "js", "max_stars_repo_path": "src/lib/utils/Xdate.js", "max_stars_repo_name": "phantom0309l/PetHome", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/lib/utils/Xdate.js", "max_issues_repo_name": "phantom0309l/PetHome", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/lib/utils/Xdate.js", "max_forks_repo_name": "phantom0309l/PetHome", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.7222222222, "max_line_length": 64, "alphanum_fraction": 0.3650254669}
export default {
    'dateUtilInit': function() {
        if (typeof Date.prototype.format != 'function') {
            Date.prototype.format = function(fmt) {
                var o = {
                    "M+": this.getMonth() + 1,
                    "D+": this.getDate(),
                    "h+": this.getHours(), 
                    "m+": this.getMinutes(),
                    "s+": this.getSeconds(),
                    "q+": Math.floor((this.getMonth() + 3) / 3),
                    "S": this.getMilliseconds()
                };
                
            }
        }
    }
}