mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-26 05:15:42 +00:00
[SamMobileBridge] Add date handling
This commit is contained in:
parent
c791b8ed83
commit
d4a7ba4956
@ -43,7 +43,7 @@ class SamMobileUpdateBridge extends BridgeAbstract
|
|||||||
$item['uri'] = $uri;
|
$item['uri'] = $uri;
|
||||||
$item['title'] = $title;
|
$item['title'] = $title;
|
||||||
$item['author'] = self::MAINTAINER;
|
$item['author'] = self::MAINTAINER;
|
||||||
$item['date'] = $td[2];
|
$item['timestamp'] = (new DateTime($td[2]->innertext))->getTimestamp();
|
||||||
$item['content'] = $text;
|
$item['content'] = $text;
|
||||||
$item['uid'] = hash('sha256', $item['title']);
|
$item['uid'] = hash('sha256', $item['title']);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user