diff --git a/themes/tajian/views/my/favs.php b/themes/tajian/views/my/favs.php index d253b77..a3544f0 100644 --- a/themes/tajian/views/my/favs.php +++ b/themes/tajian/views/my/favs.php @@ -81,7 +81,7 @@ eof; $platform = Html::getShareVideosPlatform($file['shortcut']['url']); - $pubDate = date('m/d', $file['fstat']['ctime']); + $pubDate = date('m/d', min($file['fstat']['mtime'], $file['fstat']['ctime'])); $imgSrc = $index < 4 ? " src=\"{$snapshot}\"" : ''; $imgAlt = $index < 4 ? " alt=\"{$title}\"" : ''; diff --git a/themes/tajian/views/site/index.php b/themes/tajian/views/site/index.php index e21df94..3dd3021 100644 --- a/themes/tajian/views/site/index.php +++ b/themes/tajian/views/site/index.php @@ -60,8 +60,7 @@ eof; $title = !empty($file['title']) ? Html::mb_substr($file['title'], 0, 33, 'utf-8') : $file['filename']; $platform = Html::getShareVideosPlatform($file['shortcut']['url']); - - $pubDate = date('m/d', $file['fstat']['ctime']); + $pubDate = date('m/d', min($file['fstat']['mtime'], $file['fstat']['ctime'])); $imgSrc = $index < 4 ? " src=\"{$snapshot}\"" : ''; $imgAlt = $index < 4 ? " alt=\"{$title}\"" : ''; diff --git a/themes/tajian/views/site/myindex.php b/themes/tajian/views/site/myindex.php index a9b4d80..a9a3dbf 100644 --- a/themes/tajian/views/site/myindex.php +++ b/themes/tajian/views/site/myindex.php @@ -75,7 +75,7 @@ eof; $platform = Html::getShareVideosPlatform($file['shortcut']['url']); - $pubDate = date('m/d', $file['fstat']['ctime']); + $pubDate = date('m/d', min($file['fstat']['mtime'], $file['fstat']['ctime'])); $imgSrc = $tagIndex == 0 && $index < 4 ? " src=\"{$snapshot}\"" : ''; $imgAlt = $tagIndex == 0 && $index < 4 ? " alt=\"{$title}\"" : '';