mantis导出文件中日期格式设置

上一篇 / 下一篇  2011-01-19 09:33:33 / 个人分类:mantis

RT

例如:07-22 -08 实际时间为2008-07-22
但导出的时间为 2007-08-22
解决方法---
mantis的配置文件中添加如下代码:

# 时间格式:

$g_short_date_format= 'Y-m-d'; # 短日期格式,Y 大写表示 4 位年

$g_normal_date_format= 'Y-m-d H:i'; # 普通日期格式

$g_complete_date_format= 'Y-m-d H:i:s'; # 完整日期格式

 

转自百度空间,经验证,实用。


TAG: Mantis mantis 日期格式

 

评分:0

我来说两句

Open Toolbar