BER分博客 - PHP日期处理 https://blog.berfen.com/tag/PHP%E6%97%A5%E6%9C%9F%E5%A4%84%E7%90%86/ zh-CN Wed, 22 Jan 2020 12:58:00 +0000 Wed, 22 Jan 2020 12:58:00 +0000 ThinkPHP5.0模板时间格式转换为中文格式 https://blog.berfen.com/post/6.html https://blog.berfen.com/post/6.html Wed, 22 Jan 2020 12:58:00 +0000 taotecode ThinkPHP5.0模板时间格式转换为中文格式

问题背景

在ThinkPHP5.0模板开发中,我们经常需要将数据库中的时间格式转换为更友好的中文显示格式。本文针对这一常见需求,详细介绍了几种实现方法,并分享了一个实际开发中遇到的"小坑"及其解决方案。

[...]

]]>
0 https://blog.berfen.com/post/6.html#comments