Making WordPress.org

Changeset 12962


Ignore:
Timestamp:
11/08/2023 10:34:12 PM (4 months ago)
Author:
iandunn
Message:

Events: Pin State of the Word 2023

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/events/1.0/index.php

    r12936 r12962  
    15891589 */
    15901590function pin_one_off_events( $events, $current_time ) {
    1591     if ( $current_time > strtotime( 'December 13, 2022' ) && $current_time < strtotime( 'December 18, 2022' ) ) {
    1592         $utc_offset = -5 * HOUR_IN_SECONDS;
     1591    if ( $current_time > strtotime( 'December 9, 2023' ) && $current_time < strtotime( 'December 14, 2023' ) ) {
     1592        $utc_offset = 1 * HOUR_IN_SECONDS;
    15931593
    15941594        $sotw = array(
     
    15971597            // `utm_source` is `private` because it would have to be set by the WP install, we don't need it, and tracking it could be a privacy concern.
    15981598            // This may need to be updated for GA4 - https://support.google.com/analytics/answer/10089681.
    1599             'url'                  => 'https://wordpress.org/news/2022/11/state-of-the-word-2022/?utm_source=private&utm_medium=events_widget&utm_campaign=sotw2022',
     1599            'url'                  => 'https://wordpress.org/news/2023/10/state-of-the-word-2023/?utm_source=private&utm_medium=events_widget&utm_campaign=sotw2023',
    16001600            'meetup'               => '',
    16011601            'meetup_url'           => '',
    1602             'date'                 => '2022-12-15 13:00:00',
    1603             'end_date'             => '2022-12-15 14:30:00',
    1604             'start_unix_timestamp' => strtotime( '2022-12-15 13:00:00' ) - $utc_offset,
    1605             'end_unix_timestamp'   => strtotime( '2022-12-15 14:30:00' ) - $utc_offset,
     1602            'date'                 => '2023-12-11 15:00:00',
     1603            'end_date'             => '2023-12-11 16:30:00',
     1604            'start_unix_timestamp' => strtotime( '2023-12-11 15:00:00' ) - $utc_offset,
     1605            'end_unix_timestamp'   => strtotime( '2023-12-11 16:30:00' ) - $utc_offset,
    16061606
    16071607            'location' => array(
    16081608                'location'  => 'Online',
    1609                 'country'   => 'US',
    1610                 'latitude'  => 29.768241024468665,
    1611                 'longitude' => -95.36765276500797,
     1609                'country'   => 'ES',
     1610                'latitude'  => 40.41446998218856,
     1611                'longitude' => -3.695042334019202,
    16121612            ),
    16131613        );
Note: See TracChangeset for help on using the changeset viewer.