1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 06:20:46 +02:00

Merge pull request #6413 from rubencm/ticket/17030

[ticket/17030] Fix feed to return valid RFC-3339 dates
This commit is contained in:
Marc Alexander
2022-08-26 21:46:53 +02:00

View File

@@ -97,7 +97,7 @@ class helper
if (empty($offset_string))
{
$zone_offset = $this->user->create_datetime()->getOffset();
$offset_string = phpbb_format_timezone_offset($zone_offset);
$offset_string = phpbb_format_timezone_offset($zone_offset, true);
}
return gmdate("Y-m-d\TH:i:s", $time + $zone_offset) . $offset_string;