mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00:00
Merge pull request #6413 from rubencm/ticket/17030
[ticket/17030] Fix feed to return valid RFC-3339 dates
This commit is contained in:
commit
7c02b58114
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue