locale via config

This commit is contained in:
lesion
2019-06-10 01:25:05 +02:00
parent b01f4ef04d
commit 50de4e8ebb
16 changed files with 52 additions and 55 deletions

View File

@@ -1,7 +1,7 @@
import Vue from 'vue'
import moment from 'dayjs'
import 'dayjs/locale/it'
moment.locale('it')
moment.locale(process.env.locale)
function short_hour(datetime) {
if (datetime.minute() === 0) {