diff --git a/src/components/Index/IndexNewList.vue b/src/components/Index/IndexNewList.vue index ca2ecd7..4a758b0 100644 --- a/src/components/Index/IndexNewList.vue +++ b/src/components/Index/IndexNewList.vue @@ -35,9 +35,9 @@
-
- Dec. - 03 +
+ {{ monthEnglish[item.releaseTime.split('-')[1] - 1] }}. + {{ item.releaseTime.split(' ')[0].split('-')[2] }}
{{ item.title }}
@@ -66,11 +66,7 @@ export default { }, }, data() { - return {}; - }, - - created() { - console.log('lists: ', this.lists); + return { monthEnglish: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Spt', 'Oct', 'Nov', 'Dec'] }; }, methods: { diff --git a/src/views/Activity/Activity.vue b/src/views/Activity/Activity.vue index 4472a9d..59e9340 100644 --- a/src/views/Activity/Activity.vue +++ b/src/views/Activity/Activity.vue @@ -5,14 +5,21 @@ -->