a1extran/DnsMadeEasy — Issue #3: avoid using date_default_timezone_set('UTC')
Author: redemption
Created: 2012-03-06 23:00:02+00:00
State: open

Hi there,

I noticed that in your Base.php class you use date_default_timezone_set()

https://github.com/a1extran/DnsMadeEasy/blob/master/Base.php#L20

It looks like you do that in order to get UTC time here:

https://github.com/a1extran/DnsMadeEasy/blob/master/Base.php#L100

Do you think you would get the same results, if you removed date_default_timezone_set() and then use gmdate('r') instead of date('r')?

I think changing the default_timezone can clobber date functions that are run after instantiation of the DnsMadeEasy class