Update rss.php
This commit is contained in:
parent
12b9d5539b
commit
bb857f0cda
1 changed files with 2 additions and 3 deletions
|
@ -16,10 +16,9 @@ $query = "SELECT * FROM pastes ORDER BY date";
|
|||
if ($result = mysqli_query($rss->conn(), $query)) {
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$link = $url.slash.rss::clean($row['id']).slash;
|
||||
$date= Trim($row['date']);
|
||||
$date= date('Y d M H:i:s', strtotime($date));
|
||||
|
||||
//$date= date("jS F Y h:i:s A", $row['date']);
|
||||
//$date= date('D, d M Y H:i:s', $row['now_time']);
|
||||
$date= date('d M Y H:i:s', $row['now_time']);
|
||||
//if (preg_match('/^.{1,200}\b/s', $row['content'], $match))
|
||||
//{
|
||||
//$content=$match[0].'...';
|
||||
|
|
Loading…
Reference in a new issue