From ddc4ee25f8e4fd5a13f010488b6a11a501cca96a Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 12 三月 2026 18:08:04 +0800
Subject: [PATCH] 2026年03月12日18:07:47 蓝牙配网开发中
---
app/src/main/java/com/hdl/photovoltaic/utils/TimeUtils.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/src/main/java/com/hdl/photovoltaic/utils/TimeUtils.java b/app/src/main/java/com/hdl/photovoltaic/utils/TimeUtils.java
index 760184a..25ea163 100644
--- a/app/src/main/java/com/hdl/photovoltaic/utils/TimeUtils.java
+++ b/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;
}
}
--
Gitblit v1.8.0