diff options
author | Chris Smith <toonarmy@phpbb.com> | 2008-10-11 19:01:17 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2008-10-11 19:01:17 +0000 |
commit | 1d616b810455e2f3b3f144b731a7f2d845e9b904 (patch) | |
tree | 07120afc812b33c3e40dba65a82cc4bd861f1f74 /phpBB | |
parent | b588a36a220fa5e2a67e1169ee93100200cc735f (diff) | |
download | forums-1d616b810455e2f3b3f144b731a7f2d845e9b904.tar forums-1d616b810455e2f3b3f144b731a7f2d845e9b904.tar.gz forums-1d616b810455e2f3b3f144b731a7f2d845e9b904.tar.bz2 forums-1d616b810455e2f3b3f144b731a7f2d845e9b904.tar.xz forums-1d616b810455e2f3b3f144b731a7f2d845e9b904.zip |
Correctly convert Neil's Birthday MOD to the date format used in phpBB3. #32895
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9005 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 9894de351a..1806e942d1 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -140,6 +140,7 @@ <li>[Fix] Increase board topic counter when splitting topics. (Bug #32125)</li> <li>[Fix] Display profile icons when viewing a topic, or PM when only the jabber icon is to be visible. (Bug #34755)</li> <li>[Fix] Do not send PMs with warnings if the user cannot read PMs or they are disabled. (Bug #30815)</li> + <li>[Fix] Correctly convert Neil's Birthday MOD to the date format used in phpBB3. (Bug #32895)</li> <li>[Change] No longer allow the direct use of MULTI_INSERT in sql_build_array. sql_multi_insert() must be used.</li> <li>[Change] Display warning in ACP if config.php file is left writable.</li> diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php index 8de647e4db..0acf666312 100644 --- a/phpBB/install/convertors/functions_phpbb20.php +++ b/phpBB/install/convertors/functions_phpbb20.php @@ -461,7 +461,7 @@ function phpbb_get_birthday($birthday = '') } // The birthday mod from niels is using this code to transform to day/month/year - return gmdate('d-m-Y', $birthday * 86400 + 1); + return sprintf('%2d-%2d-%4d', gmdate('n', $birthday * 86400 + 1), gmdate('j', $birthday * 86400 + 1), gmdate('Y', $birthday * 86400 + 1)); } } |