activating plugin CHANGES to UTC time
-
Hi Nitesh, I noticed when I activate the free (non-Woo) plugin, version 4.0.3, it CHANGES the UTC setting, and therefore the UTC becomes what my LOCAL time should be, and my LOCAL time is off by the offest. Why is this done?
here is the code (in ultimate-auction.php) :
add_action(‘init’, ‘wdm_set_auction_timezone’);
function wdm_set_auction_timezone()
{
$get_default_timezone = get_option(‘wdm_time_zone’);if(!empty($get_default_timezone))
{
date_default_timezone_set($get_default_timezone);
}
- The topic ‘activating plugin CHANGES to UTC time’ is closed to new replies.