Make WordPress Core


Ignore:
Timestamp:
10/14/2020 06:19:43 PM (4 years ago)
Author:
iandunn
Message:

Community Events: Display dates and times in the user's time zone.

Fixes #51130
Props sippis, hlashbrooke, audrasjb, Rarst, iandunn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r49123 r49146  
    13901390
    13911391                <div class="event-date-time">
    1392                     <span class="event-date">{{ event.formatted_date }}</span>
     1392                    <span class="event-date">{{ event.user_formatted_date }}</span>
    13931393                    <# if ( 'meetup' === event.type ) { #>
    1394                         <span class="event-time">{{ event.formatted_time }}</span>
     1394                        <span class="event-time">
     1395                            {{ event.user_formatted_time }} {{ event.timeZoneAbbreviation }}
     1396                        </span>
    13951397                    <# } #>
    13961398                </div>
Note: See TracChangeset for help on using the changeset viewer.