mirror of
https://github.com/friendica/friendica
synced 2024-11-10 01:42:53 +00:00
Merge pull request #12687 from DanielSiepmann/12686-fix-feed-creation-date-with-whitespace
Properly handle feed item creation date with surrounding whitespace
This commit is contained in:
commit
02a1b4eb17
1 changed files with 2 additions and 2 deletions
|
@ -376,11 +376,11 @@ class Feed
|
|||
}
|
||||
|
||||
if ($published != '') {
|
||||
$item['created'] = $published;
|
||||
$item['created'] = trim($published);
|
||||
}
|
||||
|
||||
if ($updated != '') {
|
||||
$item['edited'] = $updated;
|
||||
$item['edited'] = trim($updated);
|
||||
}
|
||||
|
||||
if (!$dryRun) {
|
||||
|
|
Loading…
Reference in a new issue