Blog time fixed
This commit is contained in:
@@ -52,6 +52,8 @@ var res = null;
|
||||
|
||||
{
|
||||
blogResult.map(i=>{
|
||||
var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };
|
||||
var postDt = new Date(i.post_date).toLocaleDateString("en-US", options);
|
||||
var blgImg = i.meta_value!=null?"https://blog.wrenchboard.com/wp-content/uploads/"+ i.meta_value : blogOne;
|
||||
return ( <div className="col-lg-4 col-md-6">
|
||||
<div
|
||||
@@ -65,7 +67,7 @@ var res = null;
|
||||
<div className="content">
|
||||
<div className="blog-meta">
|
||||
<ul>
|
||||
<li>{i.post_date}</li>
|
||||
<li>{postDt}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3 className="title">
|
||||
|
||||
Reference in New Issue
Block a user