wjc
2 小时以前 4db3692de0001eea35f938c1224181746e72933a
app/src/main/java/com/hdl/photovoltaic/utils/TimeUtils.java
@@ -47,14 +47,14 @@
        switch (timeType) {
            case TimeType.day: {
                timeDateFormat = TimeUtils.zhDateYearMonthDayFormat;
                if (!UserConfigManage.getInstance().isZh()) {
                if (!UserConfigManage.getInstance().getCurrentAppLanguage().equals(Languages.zh)) {
                    timeDateFormat = TimeUtils.enDateYearMonthDayFormat;
                }
            }
            break;
            case TimeType.month: {
                timeDateFormat = TimeUtils.zhDateYearMonthFormat;
                if (!UserConfigManage.getInstance().isZh()) {
                if (!UserConfigManage.getInstance().getCurrentAppLanguage().equals(Languages.zh)) {
                    timeDateFormat = TimeUtils.enDateYearMonthFormat;
                }
            }
@@ -62,7 +62,7 @@
            case TimeType.year:
            case TimeType.all: {
                timeDateFormat = TimeUtils.zhDateYearFormat;
                if (!UserConfigManage.getInstance().isZh()) {
                if (!UserConfigManage.getInstance().getCurrentAppLanguage().equals(Languages.zh)) {
                    timeDateFormat = TimeUtils.enDateYearFormat;
                }
            }