Make WordPress Core


Ignore:
Timestamp:
09/18/2020 10:35:41 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update the URL for PHP date formats table in translator comments.

Props hareesh-pillai, iandunn.
Fixes #51332.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-community-events.php

    r48110 r48991  
    376376                 * are available, without having to open the link.
    377377                 */
    378                 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/date */
     378                /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/manual/datetime.format.php */
    379379                $formatted_date = date_i18n( __( 'l, M j, Y' ), $timestamp );
    380380                $formatted_time = date_i18n( get_option( 'time_format' ), $timestamp );
     
    385385
    386386                    if ( 'meetup' !== $event['type'] && $formatted_end_date !== $formatted_date ) {
    387                         /* translators: Upcoming events month format. See https://www.php.net/date */
     387                        /* translators: Upcoming events month format. See https://www.php.net/manual/datetime.format.php */
    388388                        $start_month = date_i18n( _x( 'F', 'upcoming events month format' ), $timestamp );
    389389                        $end_month   = date_i18n( _x( 'F', 'upcoming events month format' ), $end_timestamp );
     
    394394                                __( '%1$s %2$d–%3$d, %4$d' ),
    395395                                $start_month,
    396                                 /* translators: Upcoming events day format. See https://www.php.net/date */
     396                                /* translators: Upcoming events day format. See https://www.php.net/manual/datetime.format.php */
    397397                                date_i18n( _x( 'j', 'upcoming events day format' ), $timestamp ),
    398398                                date_i18n( _x( 'j', 'upcoming events day format' ), $end_timestamp ),
    399                                 /* translators: Upcoming events year format. See https://www.php.net/date */
     399                                /* translators: Upcoming events year format. See https://www.php.net/manual/datetime.format.php */
    400400                                date_i18n( _x( 'Y', 'upcoming events year format' ), $timestamp )
    401401                            );
Note: See TracChangeset for help on using the changeset viewer.