1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-22 16:51:56 +02:00

Date conversion now done to GMT based epoch

git-svn-id: file:///svn/phpbb/trunk@139 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-04-04 01:22:38 +00:00
parent ab57859a18
commit 6a74fcad44

@ -6,7 +6,7 @@
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $id Exp $
* $id upgrade_20.php,v 1.9 2001/03/23 01:32:41 psotfx Exp $
*
****************************************************************************/
@ -75,7 +75,7 @@ function convert_date($date_in)
// Original phpBB format
list($year, $month, $day) = split("-", $date);
list($hours, $minutes) = split(":", $time);
$timestamp = mktime($hours, $minutes, 0, $month, $day, $year);
$timestamp = gmmktime($hours, $minutes, 0, $month, $day, $year);
return($timestamp);
}