Plugin Directory

Changeset 3327170


Ignore:
Timestamp:
07/13/2025 08:29:54 PM (7 months ago)
Author:
wpeventgenius
Message:
  • Fix: Registration dates for each registration record were displayed in UTC time instead of the site's timezone.
Location:
event-genius
Files:
567 added
3 edited

Legend:

Unmodified
Added
Removed
  • event-genius/trunk/WPEventGenius/Common/Utils/DateFormatter.php

    r3317799 r3327170  
    110110            $string = self::date_format( $start_timestamp, $context );
    111111        } elseif ( $context === 'registration_admin' ) {
    112             $dt = new \DateTime(gmdate( 'Y-m-d H:i:s', $start_timestamp ), self::timezone_object($timezone));
     112            $dt = new \DateTime('@' . $start_timestamp, self::timezone_object('UTC'));
    113113            $dt->setTimezone(self::timezone_object($timezone));
    114114            $date_format = get_option( 'date_format' );
     
    116116            $string = $dt->format( $date_format . ' ' . $time_format );
    117117        } elseif ( $context === 'registration_admin_card' ) {
    118             $dt = new \DateTime(gmdate( 'Y-m-d H:i:s', $start_timestamp ), self::timezone_object($timezone));
     118            $dt = new \DateTime('@' . $start_timestamp, self::timezone_object('UTC'));
    119119            $dt->setTimezone(self::timezone_object($timezone));
    120120           
  • event-genius/trunk/event-genius.php

    r3318543 r3327170  
    33Plugin Name: Event Genius
    44Description: Manage events and event registration with ease. Customizable registration forms, event calendars, and more.
    5 Version: 1.0.1
     5Version: 1.0.2
    66Author: Event Genius
    77Author URI: https://wpeventgenius.com
     
    3535 */
    3636if ( ! defined( 'EVGE_VERSION' ) ) {
    37     define( 'EVGE_VERSION', '1.0.1' );
     37    define( 'EVGE_VERSION', '1.0.2' );
    3838}
    3939if ( ! defined( 'EVGE_FREE_VERSION' ) ) {
  • event-genius/trunk/readme.txt

    r3318943 r3327170  
    55Requires at least: 6.0
    66Tested up to: 6.8
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88Requires PHP: 7.4
    99License: GPL-2.0+
     
    175175
    176176== Changelog ==
     177= 1.0.2 =
     178* Fix: Registration dates for each registration record were displayed in UTC time instead of the site's timezone.
     179
    177180= 1.0.1 =
    178181* Fix: Fixed a static venue address being used for email placeholders.
Note: See TracChangeset for help on using the changeset viewer.