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-includes/script-loader.php

    r49109 r49146  
    13091309        $scripts->set_translations( 'wp-color-picker' );
    13101310
    1311         $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox', 'wp-util', 'wp-a11y' ), false, 1 );
     1311        $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox', 'wp-util', 'wp-a11y', 'wp-date' ), false, 1 );
     1312        $scripts->set_translations( 'dashboard' );
    13121313
    13131314        $scripts->add( 'list-revisions', "/wp-includes/js/wp-list-revisions$suffix.js" );
     
    17561757            'nonce' => wp_create_nonce( 'community_events' ),
    17571758            'cache' => $events_client->get_cached_events(),
     1759            'time_format' => get_option( 'time_format' ),
    17581760
    17591761            'l10n'  => array(
Note: See TracChangeset for help on using the changeset viewer.