gitphp日期乱码解决方案

出现日期乱码的在以下文件中

templates
	rss
	tag
	commitdiffplain
	log
	project
	commit

搜索文件中的 %z

修改为以下代码
{$commit->GetCommitterLocalEpoch()|date_format:"%Y-%m-%d , %A , %H:%M:%S"}

本文使用 markdown 语法编辑

参见
新功能发布!Markdown写博客! http://www.cnblogs.com/cmt/p/markdown.html
新版markdown功能发布!支持github flavored markdown! http://www.cnblogs.com/cmt/p/markdown_github.html

原文地址:https://www.cnblogs.com/cnryb/p/4134941.html