diff --git a/app/components/Activity/InvoiceModal.js b/app/components/Activity/InvoiceModal.js index 3f5c2bc1..8939b947 100644 --- a/app/components/Activity/InvoiceModal.js +++ b/app/components/Activity/InvoiceModal.js @@ -2,7 +2,6 @@ import React from 'react' import PropTypes from 'prop-types' import Moment from 'react-moment' -import 'moment-timezone' import QRCode from 'qrcode.react' import copy from 'copy-to-clipboard' diff --git a/app/components/Activity/PaymentModal.js b/app/components/Activity/PaymentModal.js index 9b981e03..92a1197d 100644 --- a/app/components/Activity/PaymentModal.js +++ b/app/components/Activity/PaymentModal.js @@ -2,7 +2,6 @@ import React from 'react' import PropTypes from 'prop-types' import Moment from 'react-moment' -import 'moment-timezone' import FaAngleDown from 'react-icons/lib/fa/angle-down' diff --git a/app/components/Activity/TransactionModal.js b/app/components/Activity/TransactionModal.js index 7ee3f867..9b69290d 100644 --- a/app/components/Activity/TransactionModal.js +++ b/app/components/Activity/TransactionModal.js @@ -2,7 +2,6 @@ import React from 'react' import PropTypes from 'prop-types' import Moment from 'react-moment' -import 'moment-timezone' import FaAngleDown from 'react-icons/lib/fa/angle-down' diff --git a/app/routes/activity/components/components/Invoice/Invoice.js b/app/routes/activity/components/components/Invoice/Invoice.js index c93bef1d..9e1b34a3 100644 --- a/app/routes/activity/components/components/Invoice/Invoice.js +++ b/app/routes/activity/components/components/Invoice/Invoice.js @@ -1,7 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' import Moment from 'react-moment' -import 'moment-timezone' import { btc } from 'utils' import Isvg from 'react-inlinesvg' diff --git a/app/routes/activity/components/components/Payment/Payment.js b/app/routes/activity/components/components/Payment/Payment.js index 2ebce12d..e2b6c725 100644 --- a/app/routes/activity/components/components/Payment/Payment.js +++ b/app/routes/activity/components/components/Payment/Payment.js @@ -2,7 +2,6 @@ import React from 'react' import PropTypes from 'prop-types' import find from 'lodash/find' import Moment from 'react-moment' -import 'moment-timezone' import { btc } from 'utils' import Value from 'components/Value' diff --git a/app/routes/activity/components/components/Transaction/Transaction.js b/app/routes/activity/components/components/Transaction/Transaction.js index f6ed8339..e1e9e22a 100644 --- a/app/routes/activity/components/components/Transaction/Transaction.js +++ b/app/routes/activity/components/components/Transaction/Transaction.js @@ -1,7 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' import Moment from 'react-moment' -import 'moment-timezone' import { btc } from 'utils' import Value from 'components/Value' diff --git a/package.json b/package.json index 485509df..6dfbc82a 100644 --- a/package.json +++ b/package.json @@ -236,7 +236,7 @@ "font-awesome": "^4.7.0", "history": "^4.6.3", "lodash": "^4.17.10", - "moment-timezone": "^0.5.13", + "moment": "^2.22.2", "prop-types": "^15.5.10", "qrcode.react": "0.8.0", "react": "^15.6.1", diff --git a/yarn.lock b/yarn.lock index d6431558..40b13883 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8059,15 +8059,9 @@ mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkd dependencies: minimist "0.0.8" -moment-timezone@^0.5.13: - version "0.5.13" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.13.tgz#99ce5c7d827262eb0f1f702044177f60745d7b90" - dependencies: - moment ">= 2.9.0" - -"moment@>= 2.9.0": - version "2.18.1" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f" +moment@^2.22.2: + version "2.22.2" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66" move-concurrently@^1.0.1: version "1.0.1"