Changed default base date format - no other changes

git-svn-id: file:///svn/phpbb/trunk@133 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-03-23 01:31:49 +00:00
parent 2eb4b3955b
commit 7c82d91c76

View file

@ -3,10 +3,10 @@
* upgrade_20.php - description * upgrade_20.php - description
* ------------------- * -------------------
* begin : Sat Oct 14 2000 * begin : Sat Oct 14 2000
* copyright : (C) 2000 by James Atkinson * copyright : (C) 2001 The phpBB Group
* email : james@totalgeek.org * email : support@phpbb.com
* *
* $id$ * $id Exp $
* *
****************************************************************************/ ****************************************************************************/
@ -71,9 +71,9 @@ function convert_date($date_in)
list($date, $time) = split(" ", $date_in); list($date, $time) = split(" ", $date_in);
// UK/European format // UK/European format
list($day, $month, $year) = split("-", $date); // list($day, $month, $year) = split("-", $date);
// Original phpBB format // Original phpBB format
// list($year, $month, $day) = split("-", $date); list($year, $month, $day) = split("-", $date);
list($hours, $minutes) = split(":", $time); list($hours, $minutes) = split(":", $time);
$timestamp = mktime($hours, $minutes, 0, $month, $day, $year); $timestamp = mktime($hours, $minutes, 0, $month, $day, $year);