default Timezone in wp-setting.php
-
I have a gift card plugin that features a scheduled delivery, so the customer can choose what date it is emailed to the recipient. The plugin works great however the gift card is delivered in UTC time even though I have my time zones set to America/New_York in my php.ini and to New York in WordPress settings. The only way I have been able to get it to send at the correct date/time scheduled is to change the code in wp-settings.php from date_default_timezone_set( ‘UTC’ ); to date_default_timezone_set( ‘America/New_York’ ); then sync up the time zone in wordpress general settings. I’m concerned that by doing this it may cause some unforeseen issues, so far it seems ok but I want to be certain I’m not breaking anything. I also have been working with the plugins developers but they can’t find any issue with the code. Any advice is greatly appreciated.
The page I need help with: [log in to see the link]
- The topic ‘default Timezone in wp-setting.php’ is closed to new replies.