mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-27 19:53:03 +03:00
time format
This commit is contained in:
parent
d3fd348de4
commit
471a4c942f
@ -231,7 +231,7 @@ void WatchFaceTerminal::Refresh() {
|
|||||||
if ((year != currentYear) || (month != currentMonth) || (dayOfWeek != currentDayOfWeek) || (day != currentDay)) {
|
if ((year != currentYear) || (month != currentMonth) || (dayOfWeek != currentDayOfWeek) || (day != currentDay)) {
|
||||||
|
|
||||||
char dateStr[38];
|
char dateStr[38];
|
||||||
sprintf(dateStr, "[DATE]#007fff 20%d.%02d.%02d#", short(year-2000), char(month), char(day));
|
sprintf(dateStr, "[DATE]#007fff 20%d.%02d.%02d#", char(year-2000), char(month), char(day));
|
||||||
lv_label_set_text(label_date, dateStr);
|
lv_label_set_text(label_date, dateStr);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user