From 46c31a75d746773c223c29c78211723170104189 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 23 Jul 2017 11:51:46 +0200 Subject: Fix timestamp format with PostgreSQL for EasyRSS https://github.com/Alkarex/EasyRSS/issues/31 --- p/api/greader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/api/greader.php') diff --git a/p/api/greader.php b/p/api/greader.php index 6b9ea4526..7f6f0b04f 100644 --- a/p/api/greader.php +++ b/p/api/greader.php @@ -503,7 +503,7 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex $item = array( 'id' => /*'tag:google.com,2005:reader/item/' .*/ dec2hex($entry->id()), //64-bit hexa http://code.google.com/p/google-reader-api/wiki/ItemId 'crawlTimeMsec' => substr($entry->id(), 0, -3), - 'timestampUsec' => $entry->id(), //EasyRSS + 'timestampUsec' => '' . $entry->id(), //EasyRSS 'published' => $entry->date(true), 'title' => $entry->title(), 'summary' => array('content' => $entry->content()), -- cgit v1.2.3