diff --git a/apps/mobile/app/package.json b/apps/mobile/app/package.json index 63192f7f3..885eb0556 100644 --- a/apps/mobile/app/package.json +++ b/apps/mobile/app/package.json @@ -9,13 +9,13 @@ "@streetwriters/showdown": "^3.0.1-alpha.2", "absolutify": "^0.1.0", "buffer": "^6.0.3", - "dayjs": "^1.10.4", "deprecated-react-native-prop-types": "^4.1.0", "entities": "^3.0.1", "fflate": "^0.7.3", "html-to-text": "9.0.5", "phone": "^3.1.14", "qclone": "^1.2.0", + "dayjs": "^1.11.13", "react-native-actions-sheet": "0.9.7", "react-native-drax": "^0.10.2", "react-native-image-zoom-viewer": "^3.0.1", diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.json index b34949d4d..679e6b4dd 100644 --- a/apps/mobile/package-lock.json +++ b/apps/mobile/package-lock.json @@ -28,6 +28,7 @@ "@trpc/react-query": "^10.45.2", "@trpc/server": "^10.45.2", "@types/validator": "^13.12.2", + "dayjs": "^1.11.13", "diffblazer": "^1.0.1", "react": "18.2.0", "react-native": "0.74.5" @@ -28275,7 +28276,6 @@ "@streetwriters/showdown": "^3.0.1-alpha.2", "absolutify": "^0.1.0", "buffer": "^6.0.3", - "dayjs": "^1.10.4", "deprecated-react-native-prop-types": "^4.1.0", "entities": "^3.0.1", "fflate": "^0.7.3", @@ -35795,8 +35795,9 @@ "license": "MIT" }, "node_modules/dayjs": { - "version": "1.11.8", - "license": "MIT" + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" }, "node_modules/debug": { "version": "4.3.4", diff --git a/packages/core/src/utils/date.ts b/packages/core/src/utils/date.ts index 67e485c4a..80a448518 100644 --- a/packages/core/src/utils/date.ts +++ b/packages/core/src/utils/date.ts @@ -18,8 +18,8 @@ along with this program. If not, see . */ import dayjs from "dayjs"; -import advancedFormat from "dayjs/plugin/advancedFormat"; -import timezone from "dayjs/plugin/timezone"; +import advancedFormat from "dayjs/plugin/advancedFormat.js"; +import timezone from "dayjs/plugin/timezone.js"; import { TimeFormat } from "../types.js"; dayjs.extend(advancedFormat);