From c2a74fb96d28261889f014bd84fe26eced652582 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 17 Jun 2016 11:17:15 -0400 Subject: [PATCH] Correction for the time zone Should just use the current time given and not adjust the time zone --- index.php | 6 +++--- models/admin/management/events.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 7922b0c..b84721c 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database Events * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.2.5 + * Version: 1.2.6 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -20,7 +20,7 @@ * @package glmMembersDatabaseEventsAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.2.5 + * @version 1.2.6 */ /* @@ -38,7 +38,7 @@ * so that we're sure the other add-ons see an up to date * version from this plugin. */ -define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.5'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.6'); define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.18'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/admin/management/events.php b/models/admin/management/events.php index 0916eb7..f84a737 100644 --- a/models/admin/management/events.php +++ b/models/admin/management/events.php @@ -1448,8 +1448,8 @@ class GlmMembersAdmin_management_events extends GlmDataEventsManagement } if(!empty($custom_times)){ $stamp = array(); - date_default_timezone_set('UTC'); - //$serialized_custom_times = serialize($custom_times); + //date_default_timezone_set('UTC'); + $serialized_custom_times = serialize($custom_times); foreach($custom_times as $custom){ $convert = date('U',strtotime($custom)); $stamp[] = date('Y-m-d', $convert); -- 2.17.1