{"size": 582, "ext": "js", "max_stars_repo_path": "src/js/clock.js", "max_stars_repo_name": "jtran071/desktab", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/js/clock.js", "max_issues_repo_name": "jtran071/desktab", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/js/clock.js", "max_forks_repo_name": "jtran071/desktab", "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": 13.5348837209, "max_line_length": 56, "alphanum_fraction": 0.5343642612}
function renderTime() {

	var currentTime = new Date();
	var diem ="AM"
	var h = currentTime.getHours();
	var m = currentTime.getMinutes();
	var s = currentTime.getSeconds();
	
	
	if(h<12)
	{
		deim ="AM";
	}
	if(h>12)
	{
		diem ="PM";
	}
	if(h == 0){
		h=12;
	}else if ( h>12){
		h=h-12;
	}
	 if(h<10){
	 h="0"+h;
	 }
	 if(m<10){
	 m="0"+m;
	 }
	 if(s<10){
	 s="0"+s;
	 }
	 
	 
	 var myClock = document.getElementById('clockDisplay');
     myClock.textContent = h + ":" + m + diem;
	 myClock.innerText = h + ":" + m + diem;
	 setTimeout('renderTime()',1000);
	 
	
}

renderTime();
