-
Bug
-
Resolution: Fixed
-
None
-
3.0.x
-
None
-
PHP Environment:
Database:
After converting the the day and month swapped.
Solved by change in functions_phpbb20.php the string:
// The birthday mod from niels is using this code to transform to day/month/year
|
return sprintf('%2d-%2d-%4d', gmdate('n', $birthday * 86400 + 1), gmdate('j', $birthday * 86400 + 1), gmdate('Y', $birthday * 86400 + 1));
|
to:
// The birthday mod from niels is using this code to transform to day/month/year
|
return sprintf('%2d-%2d-%4d', gmdate('j', $birthday * 86400 + 1), gmdate('n', $birthday * 86400 + 1), gmdate('Y', $birthday * 86400 + 1));
|