diff --git a/resources/views/backend/post/index.blade.php b/resources/views/backend/post/index.blade.php
index 2f56f9613..431860a2c 100755
--- a/resources/views/backend/post/index.blade.php
+++ b/resources/views/backend/post/index.blade.php
@@ -32,9 +32,9 @@
Title |
Subtitle |
Slug |
- Status |
- Created |
- Updated |
+ Status |
+ Created |
+ Updated |
Actions |
@@ -46,8 +46,8 @@
{{ str_limit($post->subtitle, config('blog.backend_trim_width')) }} |
{{ $post->slug }} |
{{ $post->is_draft === 1 ? 'Draft' : 'Published' }} |
- {{ $post->created_at->format('M d, Y') }} |
- {{ $post->updated_at->format('M d, Y') }} |
+ {{ $post->created_at->format('Y-m-d') }} |
+ {{ $post->updated_at->format('Y-m-d') }} |
@endforeach
diff --git a/resources/views/backend/post/partials/datatable.blade.php b/resources/views/backend/post/partials/datatable.blade.php
index d09cf8893..609c9ed27 100755
--- a/resources/views/backend/post/partials/datatable.blade.php
+++ b/resources/views/backend/post/partials/datatable.blade.php
@@ -16,7 +16,10 @@
return " " +
" ";
},
+ "humandate": function(row, column) {
+ return moment(row.created).format("MMMM, Do YYYY");
+ }
}
});
});
-
\ No newline at end of file
+