Mantis Bug Tracker发送的邮件日期格式

时间:2009-12-31 07:02:13

标签: php mysql mantis

我正在使用Mantis bug tracker v1.1.8。当从螳螂发送的邮件到达我公司的收件箱时,收件箱页面上显示的日期为邮件的“未知日期”。 在打开消息时,我可以看到实际日期。从Mantis收到的邮件日期的格式为星期四,2009年12月31日12:30:28 +0580,而其他邮件的日期格式如星期一,2009年12月21日06:56:18 +0100 [12/21 / 2009年上午11:26:18 IST]。

有什么方法可以解决这个问题吗? 谢谢

1 个答案:

答案 0 :(得分:2)

config_inc.php Mantis配置文件中,您应该能够为“完整日期”设置定义自己的日期格式:

  / / Setting the language and date format  
  $ g_default_language = 'french';  
  $ g_short_date_format = 'dm-Y';  
  $ g_normal_date_format = 'dmY H: i';  
  $ g_complete_date_format = 'dmY H: i';

它应该遵循php date format convention。然后,您可以使用这些格式约定来构建所需的确切日期输出。