From fbc293b99561d230904b47536fbc50853df7e07b Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 14 Aug 2022 17:58:56 +0200 Subject: [PATCH 1/2] Migrate from deprecated moment to luxon --- package.json | 2 +- src/components/ChatMessage/index.vue | 5 ++--- src/components/Status/index.vue | 5 ++--- src/views/moderationLog/index.vue | 4 ++-- src/views/reports/components/NoteCard.vue | 5 ++--- src/views/reports/components/Report.vue | 4 ++-- yarn.lock | 10 +++++----- 7 files changed, 16 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index c9b3ab74..c8d23773 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "lodash": "4.17.21", "lodash.debounce": "4.0.8", "marked": "0.8.2", - "moment": "2.29.4", + "luxon": "3.0.1", "normalize.css": "7.0.0", "nprogress": "0.2.0", "numeral": "2.0.6", diff --git a/src/components/ChatMessage/index.vue b/src/components/ChatMessage/index.vue index 2e6a05cb..4ff6dcc3 100644 --- a/src/components/ChatMessage/index.vue +++ b/src/components/ChatMessage/index.vue @@ -51,8 +51,7 @@