diff --git a/js/src/components/Post/PostElementItem.vue b/js/src/components/Post/PostElementItem.vue index 602713d23..045ffbdab 100644 --- a/js/src/components/Post/PostElementItem.vue +++ b/js/src/components/Post/PostElementItem.vue @@ -47,6 +47,7 @@ {{ $options.filters.formatDateTimeString( new Date(post.insertedAt), + undefined, false ) }} diff --git a/js/src/views/Posts/Post.vue b/js/src/views/Posts/Post.vue index 671475fc7..e315c76de 100644 --- a/js/src/views/Posts/Post.vue +++ b/js/src/views/Posts/Post.vue @@ -29,6 +29,7 @@ :title=" $options.filters.formatDateTimeString( post.updatedAt, + undefined, true, 'short' ) diff --git a/js/tests/unit/specs/boot/routes.spec.ts b/js/tests/unit/specs/boot/routes.spec.ts index 14d771ff2..483938a3e 100644 --- a/js/tests/unit/specs/boot/routes.spec.ts +++ b/js/tests/unit/specs/boot/routes.spec.ts @@ -4,11 +4,15 @@ import App from "@/App.vue"; import VueRouter from "vue-router"; import Buefy from "buefy"; import flushPromises from "flush-promises"; +import VueAnnouncer from "@vue-a11y/announcer"; +import VueSkipTo from "@vue-a11y/skip-to"; const localVue = createLocalVue(); config.mocks.$t = (key: string): string => key; localVue.use(VueRouter); localVue.use(Buefy); +localVue.use(VueAnnouncer); +localVue.use(VueSkipTo); describe("routing", () => { test("Homepage", async () => { diff --git a/js/tests/unit/specs/components/Comment/__snapshots__/CommentTree.spec.ts.snap b/js/tests/unit/specs/components/Comment/__snapshots__/CommentTree.spec.ts.snap index c2d67bc89..2ab6af2fe 100644 --- a/js/tests/unit/specs/components/Comment/__snapshots__/CommentTree.spec.ts.snap +++ b/js/tests/unit/specs/components/Comment/__snapshots__/CommentTree.spec.ts.snap @@ -12,7 +12,7 @@ exports[`CommentTree renders a comment tree with comments 1`] = `
-
-