找到apidoc安装目录打开apidoc\apidoc\lib\index.js文件
找到第104行;或者在文件中搜索Date 替换一下代码:

apidoc.setGeneratorInfos({
name : json.name,
time : new Date(),
url : json.homepage,
version: json.version
});

替换为:

var date = new Date();
apidoc.setGeneratorInfos({
name : json.name,
time : date.getFullYear() + “-“ + (date.getMonth() < 10 ? ‘0’ + (date.getMonth()+1) : (date.getMonth()+1)) + “-“ + (date.getDate() < 10 ? ‘0’ + date.getDate() : date.getDate())+ “ “ + date.toLocaleTimeString(),
url : json.homepage,
version: json.version
});