projects
/
WP-Themes
/
pellstonairport.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def0de2
)
converting time zone in class flight file
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 14 Apr 2016 18:34:20 +0000
(14:34 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 14 Apr 2016 18:34:20 +0000
(14:34 -0400)
class_flight.php
patch
|
blob
|
history
diff --git
a/class_flight.php
b/class_flight.php
index
7d7bd94
..
bd2371c
100644
(file)
--- 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 = '<div id="last-update"><p> </p><p><b>Last updated:</b> '. $lastUpdated . '</p></div>';
//echo '<!--<pre>';