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