Skip to content

Commit a746588

Browse files
committed
locale('ja')を削除、フォーマットを修正
1 parent 356d1c3 commit a746588

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pages/lesson/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,7 @@ export default Vue.extend({
221221
},
222222
computed: {
223223
dateString(): string {
224-
return this.$dayjs(this.lesson.startTime)
225-
.locale('ja')
226-
.format('M月D日(ddd)')
224+
return this.$dayjs(this.lesson.startTime).format('LL(ddd)')
227225
},
228226
dateTitle(): string {
229227
return this.$dayjs(this.lesson.startTime).format('M/D')

0 commit comments

Comments
 (0)