gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 02:37:58 24 4
gpt4 key购买 nike

我使用的是 Mantis 错误跟踪器 v1.1.8。当从 mantis 发送的邮件到达我公司的收件箱时,收件箱页面上显示的日期是邮件的“未知日期”。打开消息,我可以看到实际日期。从 Mantis 收到的邮件日期格式为 Thu, 31 Dec 2009 12:30:28 +0580,而其他邮件的日期格式为 Mon, 21 Dec 2009 06:56:18 +0100 [12/21/2009 年上午 11:26:18 IST]。

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

最佳答案

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之后.然后,您可以使用这些格式约定来构建您需要的确切日期输出。

关于php - Mantis Bug Tracker 发送邮件的日期格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1984312/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com