Просмотр исходного кода

Fix timestamp format with PostgreSQL for EasyRSS

https://github.com/Alkarex/EasyRSS/issues/31
Alexandre Alapetite 8 лет назад
Родитель
Сommit
46c31a75d7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      p/api/greader.php

+ 1 - 1
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()),