tweak post preview date format
This commit is contained in:
parent
2932836181
commit
482213775a
|
@ -59,7 +59,7 @@
|
|||
while($row = $stmt->fetch()){
|
||||
echo '<div class="post-preview">';
|
||||
echo '<h3><a href="/blog/'.$row['postSlug'].'">'.$row['postTitle'].'</a></h3>';
|
||||
echo '<p class="post-date">Posted on '.date('jS M Y H:i:s', strtotime($row['postDate'])).'</p>';
|
||||
echo '<p class="post-date">Posted on '.date('F jS Y', strtotime($row['postDate'])).'</p>';
|
||||
echo '<svg height="10" width="100%">';
|
||||
echo '<line x1="0" y1="0" x2="960" y2="0" />';
|
||||
echo '</svg>';
|
||||
|
|
Loading…
Reference in New Issue