cleanup for date to timestamp debug messages
This commit is contained in:
@@ -190,7 +190,7 @@ function _booking_change_status($nid, $status_id)
|
|||||||
|
|
||||||
function _datearray_to_ts($date)
|
function _datearray_to_ts($date)
|
||||||
{
|
{
|
||||||
watchdog('booking', 'Date Conversion: @info', array('@info' => var_export($date, TRUE)));
|
//watchdog('booking', 'Date Conversion: @info', array('@info' => var_export($date, TRUE)));
|
||||||
date_default_timezone_set(date_default_timezone(FALSE));
|
date_default_timezone_set(date_default_timezone(FALSE));
|
||||||
$tz = new DateTimeZone(date_default_timezone(FALSE));
|
$tz = new DateTimeZone(date_default_timezone(FALSE));
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ function _datearray_to_ts($date)
|
|||||||
|
|
||||||
function _datetime_array_to_ts($date)
|
function _datetime_array_to_ts($date)
|
||||||
{
|
{
|
||||||
watchdog('booking', 'Date-time Conversion: @info', array('@info' => var_export($date, TRUE)));
|
//watchdog('booking', 'Date-time Conversion: @info', array('@info' => var_export($date, TRUE)));
|
||||||
//watchdog('booking', "Date time conversion timezone configured as: @info", array('@info' => date_default_timezone(FALSE)));
|
//watchdog('booking', "Date time conversion timezone configured as: @info", array('@info' => date_default_timezone(FALSE)));
|
||||||
date_default_timezone_set(date_default_timezone(FALSE));
|
date_default_timezone_set(date_default_timezone(FALSE));
|
||||||
$tz = new DateTimeZone(date_default_timezone(FALSE));
|
$tz = new DateTimeZone(date_default_timezone(FALSE));
|
||||||
|
Reference in New Issue
Block a user