adjusting the last updated time being ouput from the class flight file
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 20 Jan 2017 15:45:39 +0000 (10:45 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 20 Jan 2017 15:45:39 +0000 (10:45 -0500)
class_flight.php

index e6243ef..1c659b3 100644 (file)
@@ -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>&nbsp;</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