corrected time format on index.php