fix: 文章列表及详情发布时间中英显示区分
This commit is contained in:
@@ -93,12 +93,6 @@ class Article extends Common
|
||||
])
|
||||
->bypk($id)
|
||||
->find();
|
||||
if (!$detail->isEmpty()) {
|
||||
$detail->release_time = date('Y-m-d H:i:s', strtotime($detail->release_time));
|
||||
if (cookie('think_lang') == 'en-us') {
|
||||
$detail->release_time = 'Posted on ' . date('F j, Y', strtotime($detail->release_time));
|
||||
}
|
||||
}
|
||||
View::assign('detail', $detail);
|
||||
|
||||
// 获取分享配置相关
|
||||
|
||||
Reference in New Issue
Block a user