|
@@ -2,12 +2,8 @@ import dayjs from 'dayjs'
|
|
|
import duration from 'dayjs/plugin/duration'
|
|
|
dayjs.extend(duration);
|
|
|
const systemInfo = uni.getSystemInfoSync();
|
|
|
-<<<<<<< HEAD
|
|
|
- const Language = (systemInfo.language == 'zh-CN' || systemInfo.language == 'zh_CN') ? 'zh' : 'en' // 'zh' | 'en'
|
|
|
-=======
|
|
|
-// const Language = systemInfo.language == 'zh_CN' ? 'zh' : 'en' // 'zh' | 'en'
|
|
|
+ // const Language = (systemInfo.language == 'zh-CN' || systemInfo.language == 'zh_CN') ? 'zh' : 'en' // 'zh' | 'en'
|
|
|
const Language = 'en' // 'zh' | 'en'
|
|
|
->>>>>>> xxq_test
|
|
|
const formatTime = (date) => {
|
|
|
const year = date.getFullYear();
|
|
|
const month = date.getMonth() + 1;
|