{"size": 1035, "ext": "js", "max_stars_repo_path": "css/time.js", "max_stars_repo_name": "FUJICHU/FUJICHU.github.io", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "css/time.js", "max_issues_repo_name": "FUJICHU/FUJICHU.github.io", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "css/time.js", "max_forks_repo_name": "FUJICHU/FUJICHU.github.io", "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": 45.0, "max_line_length": 81, "alphanum_fraction": 0.7207729469}
﻿function PrefixInteger(num, length) {
    return (Array(length).join('0') + num).slice(-length);}
function set_time(){
    var today=new Date();
    var hours=PrefixInteger(today.getHours(),2);
    var minutes=PrefixInteger(today.getMinutes(),2);
    var seconds=PrefixInteger(today.getSeconds(),2);
    var milliseconds=PrefixInteger(today.getMilliseconds(),3);
    document.getElementById("time_hours").innerHTML=hours;
    document.getElementById("time_minutes").innerHTML=minutes;
    document.getElementById("time_seconds").innerHTML=seconds;
    document.getElementById("time_milliseconds").innerHTML=milliseconds;
}
setInterval("set_time()");
function set_date(){
    var today=new Date();
    var year=PrefixInteger(today.getFullYear(),4);
    var month=PrefixInteger((today.getMonth()+1),2);
    var date=PrefixInteger(today.getDate(),2);
    document.getElementById("date1").innerHTML=year+"-"+month+"-"+date+" 20:00止";
    document.getElementById("date2").innerHTML=year+"年"+month+"月"+date+"日";
}
setInterval("set_date()");