mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Update the URL for PHP date formats table in translator comments.
Props hareesh-pillai, iandunn. Fixes #51332. git-svn-id: https://develop.svn.wordpress.org/trunk@48991 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -965,10 +965,10 @@ function wp_dashboard_recent_posts( $args ) {
|
||||
} elseif ( gmdate( 'Y-m-d', $time ) == $tomorrow ) {
|
||||
$relative = __( 'Tomorrow' );
|
||||
} elseif ( gmdate( 'Y', $time ) !== $year ) {
|
||||
/* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/date */
|
||||
/* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/manual/datetime.format.php */
|
||||
$relative = date_i18n( __( 'M jS Y' ), $time );
|
||||
} else {
|
||||
/* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/date */
|
||||
/* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/manual/datetime.format.php */
|
||||
$relative = date_i18n( __( 'M jS' ), $time );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user