1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 12:40:13 +01:00

[ticket/17030] Fix feed to return valid RFC-3339 dates

PHPBB3-17030
This commit is contained in:
Ruben Calvo 2022-08-21 21:56:11 +02:00
parent 89b07af756
commit db3c143b73

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;