aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/datetime/from_format_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/datetime/from_format_test.php b/tests/datetime/from_format_test.php
index c89a16097d..c28925272e 100644
--- a/tests/datetime/from_format_test.php
+++ b/tests/datetime/from_format_test.php
@@ -39,7 +39,7 @@ class phpbb_datetime_from_format_test extends phpbb_test_case
global $user;
$user = new phpbb_user();
- $user->tz = new DateTimeZone($timezone);
+ $user->timezone = new DateTimeZone($timezone);
$user->lang['datetime'] = array(
'TODAY' => 'Today',
'TOMORROW' => 'Tomorrow',