projects
/
WP-Themes
/
airciu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ce833
)
adjusting the last updated time being ouput from the class flight file
author
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 20 Jan 2017 15:45:39 +0000
(10:45 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 20 Jan 2017 15:45:39 +0000
(10:45 -0500)
class_flight.php
patch
|
blob
|
history
diff --git
a/class_flight.php
b/class_flight.php
index
e6243ef
..
1c659b3
100644
(file)
--- a/
class_flight.php
+++ b/
class_flight.php
@@
-109,7
+109,7
@@
include_once($_SERVER['DOCUMENT_ROOT'].'/wp-config.php' );
}
rsort($update_times);
// get UTC offset for current date/time
- $TimeDiff =
4
+date("I");
+ $TimeDiff =
5
+date("I");
$this->last_updated = '<div id="last-update"><p> </p><p><b>Last updated:</b> '.date("n/j/Y g:i a",$update_times[0]-($TimeDiff*60*60)).'</p></div>';
// $query = "SELECT msg_dtm FROM glm_flight
// ORDER BY msg_dtm DESC