mirror of
https://github.com/JADE-Jerry/jcalendar.git
synced 2025-12-06 09:32:48 +08:00
1.1.7
This commit is contained in:
@@ -130,6 +130,8 @@ A: 这个取决于选用的电池和使用场景,以及开发板的质量。
|
|||||||
A: 可能是开发板或驱动板的质量问题,实际发现有些板子休眠功耗能达2ma,这会极大影响待机时长。另外,由于电池容量的虚标,待机时长与理论计算值也有较大偏差。建议,增加电池测量电路,及时显示电池电量情况。
|
A: 可能是开发板或驱动板的质量问题,实际发现有些板子休眠功耗能达2ma,这会极大影响待机时长。另外,由于电池容量的虚标,待机时长与理论计算值也有较大偏差。建议,增加电池测量电路,及时显示电池电量情况。
|
||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
### 1.1.7
|
||||||
|
* Fix: 内置节日信息未展现。
|
||||||
### 1.1.6
|
### 1.1.6
|
||||||
* Fix: 课程表页面星期显示位置不当。
|
* Fix: 课程表页面星期显示位置不当。
|
||||||
### 1.1.5
|
### 1.1.5
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -388,13 +388,14 @@ void draw_cal_days(bool partial) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool isJr = false; // 是否节日
|
bool isJr = false; // 是否节日
|
||||||
|
int currentDateNum = (tmInfo.tm_mon + 1) * 100 + iDay + 1;
|
||||||
for (; jrIndex < jrLength; jrIndex++) {
|
for (; jrIndex < jrLength; jrIndex++) {
|
||||||
if (tmInfo.tm_mon * 100 + iDay + 1 < jrDate[jrIndex]) {
|
if (currentDateNum < jrDate[jrIndex]) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (tmInfo.tm_mon * 100 + iDay + 1 < jrDate[jrIndex]) {
|
if (currentDateNum == jrDate[jrIndex]) {
|
||||||
lunarStr = jrText[jrIndex];
|
lunarStr = jrText[jrIndex];
|
||||||
isJr == true;
|
isJr = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user