diff --git a/src/components/HomeOne/BlogHomeOne.js b/src/components/HomeOne/BlogHomeOne.js
index d9841b8..96a4253 100644
--- a/src/components/HomeOne/BlogHomeOne.js
+++ b/src/components/HomeOne/BlogHomeOne.js
@@ -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 (
- - {i.post_date}
+ - {postDt}
diff --git a/src/components/News/Blogs.js b/src/components/News/Blogs.js
index 10f6ec4..cb4cfa6 100644
--- a/src/components/News/Blogs.js
+++ b/src/components/News/Blogs.js
@@ -13,6 +13,8 @@ function Blogs() {
{
BlogDataResult.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 (
- - {i.post_date}
+ - {postDt}