From 278ed9beb8b3da63f424758e67c36bfd7e7b168c Mon Sep 17 00:00:00 2001 From: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> Date: Thu, 25 Jul 2019 01:36:48 +0900 Subject: [PATCH] Bye moment from package.json (#5215) * Bye moment from package.json * Use Mapped types for argument type definition --- package.json | 1 - .../common/views/components/poll-editor.vue | 8 ++-- src/misc/format-time-string.ts | 2 +- src/prelude/time.ts | 31 +++++++++++++ src/services/chart/core.ts | 44 +++++++++---------- yarn.lock | 2 +- 6 files changed, 59 insertions(+), 29 deletions(-) create mode 100644 src/prelude/time.ts diff --git a/package.json b/package.json index 87c251e1f..996ddf295 100644 --- a/package.json +++ b/package.json @@ -173,7 +173,6 @@ "minio": "7.0.10", "mocha": "6.2.0", "moji": "0.5.1", - "moment": "2.24.0", "ms": "2.1.2", "nested-property": "1.0.1", "node-fetch": "2.6.0", diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue index 49940134c..51c73003d 100644 --- a/src/client/app/common/views/components/poll-editor.vue +++ b/src/client/app/common/views/components/poll-editor.vue @@ -52,9 +52,11 @@