diff --git a/includes/page.php b/includes/page.php index a6fa5c8..53db3a7 100644 --- a/includes/page.php +++ b/includes/page.php @@ -55,7 +55,6 @@ function get_banner_name($row) { function millis_to_date($millis) { global $date_format; - date_default_timezone_set("UTC"); return date($date_format, $millis / 1000); } @@ -90,9 +89,7 @@ function print_page_header($title) { function print_table_headers($headers) { echo(""); foreach ($headers as $header) { - echo('
'); - echo($header); - echo('
'); + echo '
', $header, '
'; } echo(""); } diff --git a/includes/settings.php b/includes/settings.php index 1a0b5fa..ce5a8b9 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -27,6 +27,7 @@ $table_prefix = ""; // Example of default: // July 2, 2015, 9:19 pm $date_format = 'F j, Y, g:i a'; +date_default_timezone_set("UTC"); $driver = 'mysql'; diff --git a/mutes.php b/mutes.php index 65e4256..5d0f5b1 100644 --- a/mutes.php +++ b/mutes.php @@ -31,8 +31,7 @@ ?> - + diff --git a/warnings.php b/warnings.php index 9119b10..a9c8a65 100644 --- a/warnings.php +++ b/warnings.php @@ -32,9 +32,7 @@ - - +