mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
Fix Bug #57385
Correctly sort database backup file list by date on database restore page. Take admin's time zone settings into account when listing database backup files. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10478 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
52c13bc741
commit
aec50a4328
@ -91,7 +91,8 @@
|
||||
<a name="v307"></a><h3>1.i. Changes since 3.0.7</h3>
|
||||
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>[Fix] Correctly sort database backup file list by date on database restore page. (Bug #57385)</li>
|
||||
<li>[Fix] Take admin's time zone settings into account when listing database backup files. (Bug #57385)</li>
|
||||
</ul>
|
||||
|
||||
<a name="v306"></a><h3>1.ii. Changes since 3.0.6</h3>
|
||||
|
@ -435,7 +435,7 @@ class acp_database
|
||||
{
|
||||
if (in_array($matches[2], $methods))
|
||||
{
|
||||
$backup_files[gmdate("d-m-Y H:i:s", $matches[1])] = $file;
|
||||
$backup_files[(int) $matches[1]] = $file;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -450,7 +450,7 @@ class acp_database
|
||||
{
|
||||
$template->assign_block_vars('files', array(
|
||||
'FILE' => $file,
|
||||
'NAME' => $name,
|
||||
'NAME' => $user->format_date($name, 'd-m-Y H:i:s', true),
|
||||
'SUPPORTED' => true,
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user