From ecb4e853e41be3bf92f4a7c4aa52cac7886db39e Mon Sep 17 00:00:00 2001 From: root Date: Sat, 25 Mar 2023 07:47:07 +0530 Subject: [PATCH] Localize durations and update dependencies --- package.json | 3 +- src/components/Video/VideoChapters.vue | 4 +- src/components/Video/VideoItem.vue | 5 +- src/routes/FeedPage.vue | 4 +- src/routes/SearchResults.vue | 4 -- src/routes/WatchHistory.vue | 7 +-- src/routes/WatchVideo.vue | 2 +- src/store/i18n-store.js | 11 ++++ src/tools/libpiped.js | 5 -- yarn.lock | 73 ++++++++++++++++++-------- 10 files changed, 69 insertions(+), 49 deletions(-) diff --git a/package.json b/package.json index ba6dd39..d9d1166 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,9 @@ "core-js": "^3.29.1", "dexie": "^3.2.3", "dompurify": "^2.4.5", - "format-duration": "^1.4.0", "i18n-iso-countries": "^6.8.0", + "intl-messageformat": "^10.3.3", + "intl-unofficial-duration-unit-format": "^3.1.0", "javascript-time-ago": "https://bafybeicafhqxxnrmlt5fipy7zf46je4u6iwady7fiqrwcszhpk7ztno6pe.ipfs.cf-ipfs.com/?filename=jta.tar.gz", "lodash-es": "^4.17.21", "marked": "^3.0.8", diff --git a/src/components/Video/VideoChapters.vue b/src/components/Video/VideoChapters.vue index 2b9f06d..5fd4f18 100644 --- a/src/components/Video/VideoChapters.vue +++ b/src/components/Video/VideoChapters.vue @@ -12,15 +12,13 @@