nlopess Thu Jan 22 11:13:31 2004 EDT
Modified files: /livedocs error.php Log: universal time http://cvs.php.net/diff.php/livedocs/error.php?r1=1.2&r2=1.3&ty=u Index: livedocs/error.php diff -u livedocs/error.php:1.2 livedocs/error.php:1.3 --- livedocs/error.php:1.2 Sat Jan 17 06:34:07 2004 +++ livedocs/error.php Thu Jan 22 11:13:31 2004 @@ -18,7 +18,7 @@ // | Handles the 404 error and try to redirect to the good place. | // +----------------------------------------------------------------------+ // -// $Id: error.php,v 1.2 2004/01/17 11:34:07 nlopess Exp $ +// $Id: error.php,v 1.3 2004/01/22 16:13:31 nlopess Exp $ if (!empty($_SERVER['REDIRECT_URL'])) { // This is the requested page that caused the error @@ -42,7 +42,7 @@ } } else { list($title, $filename, $fileid, $dirid) = do_nav($idx, $fb_idx, $lang, 'bookinfo', $nav, $children); - $date = date("d-m-Y H:i:s"); + $date = gmdate('Y-m-d H:i:s') . ' GMT'; if (empty($file_revision)) { $file_revision = 'unknown revision'; }