mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Experimental feature to enter a custom creation date
This commit is contained in:
parent
d5f0829cad
commit
0d8cf06e4a
12 changed files with 306 additions and 270 deletions
|
@ -1229,6 +1229,7 @@ class Transmitter
|
|||
|
||||
if (in_array($data['type'], ['Create', 'Update', 'Delete'])) {
|
||||
$data['object'] = $object ?? self::createNote($item);
|
||||
$data['published'] = DateTimeFormat::utcNow(DateTimeFormat::ATOM);
|
||||
} elseif ($data['type'] == 'Add') {
|
||||
$data = self::createAddTag($item, $data);
|
||||
} elseif ($data['type'] == 'Announce') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue