aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index b8c0c370f9..d7092d6758 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -255,7 +255,7 @@ function feed_format_date($time)
{
global $user;
- $zone_offset = (int) $user->timezone + (int) $user->dst;
+ $zone_offset = $user->create_datetime()->getOffset();
$sign = ($zone_offset < 0) ? '-' : '+';
$time_offset = abs($zone_offset);