{"size": 594, "ext": "js", "max_stars_repo_path": "source/test/src/communication_between_components/DateInfo.js", "max_stars_repo_name": "YingVickyCao/ReactNativeTestCode", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "source/test/src/communication_between_components/DateInfo.js", "max_issues_repo_name": "YingVickyCao/ReactNativeTestCode", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "source/test/src/communication_between_components/DateInfo.js", "max_forks_repo_name": "YingVickyCao/ReactNativeTestCode", "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": 33.0, "max_line_length": 87, "alphanum_fraction": 0.5740740741}
import React from 'react';

export function buildDate() {
	// var date = new Date();
	// var year = date.getFullYear().toString();
	// var month = (date.getMonth() + 1).toString();
	// var day = date.getDate().toString();
	// var hour = date.getHours().toString();
	// var minute = date.getMinutes().toString();
	// var s = date.getSeconds().toString();
	// return year + '年' + month + '月' + day + '日' + ' ' + hour + ':' + minute + ":" + s;

	var date = new Date();
	var minute = date.getMinutes().toString();
	var s = date.getSeconds().toString();
	return minute + ':' + s;
}
