Correct logic to determine timezone setting

Updated the method to correctly reflect the intended functionality, and removed the explicit 'UTC' timezone setting which was always overwritten by date_default_timezone_get(), which makes more sense