From eac14156944a856c26eacac86590d72fe621276e Mon Sep 17 00:00:00 2001 From: FirstElement Date: Wed, 22 Feb 2023 01:17:57 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=82=AF=E3=83=86=E3=82=A3=E3=83=93?= =?UTF-8?q?=E3=83=86=E3=82=A3=E3=81=AE=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E6=AC=84=E3=81=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 日付の書式が、直打ちのために翻訳反映されず。WordPressの日付フォーマットを参照するように修正。 --- app/main/controllers/template/rtmedia-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/controllers/template/rtmedia-functions.php b/app/main/controllers/template/rtmedia-functions.php index f89565f2e..63ee38e5b 100644 --- a/app/main/controllers/template/rtmedia-functions.php +++ b/app/main/controllers/template/rtmedia-functions.php @@ -3463,7 +3463,7 @@ function rtmedia_convert_date( $_date ) { return sprintf( $ago_text, $value ); } else { // translators: %s: date format, see http://php.net/date. - return date_i18n( 'd F Y ', strtotime( $_date ), true ); + return date_i18n( get_option( 'date_format' ), strtotime( $_date ), true ); } }