From 6d6e77e1007cedc8c15a7e69238408f29965514d Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 14 Apr 2016 14:34:20 -0400 Subject: [PATCH] converting time zone in class flight file --- class_flight.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class_flight.php b/class_flight.php index 7d7bd94..bd2371c 100644 --- a/class_flight.php +++ b/class_flight.php @@ -112,7 +112,7 @@ include_once($_SERVER['DOCUMENT_ROOT'].'/wp-config.php' ); LIMIT 1;"; $results = $wpdb->get_results($query, ARRAY_A); foreach($results as $key=>$value){ - $lastUpdated = date("n/j/Y g:i a", strtotime($value['msg_dtm'])); + $lastUpdated = date("n/j/Y g:i a", strtotime($value['msg_dtm']) - ($TimeDiff*60*60)); } $this->last_updated = '

 

Last updated: '. $lastUpdated . '

'; //echo '