mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
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:
parent
2eb4b3955b
commit
7c82d91c76
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue