s/moment/dayjs

This commit is contained in:
les
2020-08-05 17:04:56 +02:00
parent eba0325872
commit 43a7a3901e

View File

@@ -14,14 +14,14 @@
</template> </template>
<script> <script>
import { mapState, mapActions, mapGetters } from 'vuex' import { mapState, mapActions, mapGetters } from 'vuex'
import moment from 'moment-timezone' import dayjs from 'dayjs'
import { take, get } from 'lodash' import { take, get } from 'lodash'
export default { export default {
name: 'Calendar', name: 'Calendar',
data () { data () {
const month = moment().month() + 1 const month = dayjs().month() + 1
const year = moment().year() const year = dayjs().year()
return { return {
page: { month, year } page: { month, year }
} }